@barchart/chart-lib 2.188.2 → 2.190.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chart-lib/barchart.chart.d.ts +13 -0
- chart-lib/barchart.chart.js +1 -1
- chart-lib/package.json +1 -1
chart-lib/barchart.chart.d.ts
CHANGED
|
@@ -907,8 +907,16 @@ declare module "@barchart/chart-lib" {
|
|
|
907
907
|
|
|
908
908
|
type LocaleName = "fr" | undefined;
|
|
909
909
|
|
|
910
|
+
interface TimeTick {
|
|
911
|
+
date: Date;
|
|
912
|
+
priority: number;
|
|
913
|
+
text: string;
|
|
914
|
+
}
|
|
915
|
+
|
|
910
916
|
interface TimeAxisOverrides {
|
|
911
917
|
getLocaleName?(): LocaleName;
|
|
918
|
+
tickProvider?(chartId: string, value: Date): TimeTick | null;
|
|
919
|
+
formatter?(chartId: string, value: Date): string;
|
|
912
920
|
}
|
|
913
921
|
|
|
914
922
|
interface Overrides {
|
|
@@ -935,6 +943,11 @@ declare module "@barchart/chart-lib" {
|
|
|
935
943
|
*/
|
|
936
944
|
export type DefaultVolumeBarColoring = "OpenToClose" | "CloseToClose";
|
|
937
945
|
|
|
946
|
+
interface ICredentials {
|
|
947
|
+
username: string;
|
|
948
|
+
password: string;
|
|
949
|
+
}
|
|
950
|
+
|
|
938
951
|
/** The configuration is extensively documented at our documentation site. */
|
|
939
952
|
interface Config {
|
|
940
953
|
environment?: Environment;
|