@barchart/chart-lib 2.189.0 → 2.190.1

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.
@@ -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;
@@ -1069,6 +1082,8 @@ declare module "@barchart/chart-lib" {
1069
1082
  * @default 2
1070
1083
  */
1071
1084
  lineWidth?: number;
1085
+ /** The line style (dotted, dashed, solid...) */
1086
+ dashStyle?: DashStyle;
1072
1087
  /** Does the color of the drawing vary from bar to bar (as time passes) or not.
1073
1088
  * @default false
1074
1089
  */