@barchart/chart-lib 2.305.12 → 2.307.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
CHANGED
|
@@ -776,6 +776,8 @@ declare module "@barchart/chart-lib" {
|
|
|
776
776
|
panning?: boolean;
|
|
777
777
|
/** Set to `true` if the crosshair label should show date in addition to the time for non-EOD charts. */
|
|
778
778
|
nonEodLabelWithDate?: boolean;
|
|
779
|
+
/** The name of the ordinal scale, if applicable. Only shows in the tooltips. */
|
|
780
|
+
ordinalName?: string;
|
|
779
781
|
};
|
|
780
782
|
|
|
781
783
|
export type DisplayModel = {
|
|
@@ -1511,6 +1513,7 @@ declare module "@barchart/chart-lib" {
|
|
|
1511
1513
|
includePercentChangeWithLastValue?: boolean;
|
|
1512
1514
|
snapAnnotationsToPrices?: boolean;
|
|
1513
1515
|
nonEodLabelWithDate?: boolean;
|
|
1516
|
+
ordinalName?: string;
|
|
1514
1517
|
};
|
|
1515
1518
|
}
|
|
1516
1519
|
|
|
@@ -2757,6 +2760,10 @@ declare module "@barchart/chart-lib" {
|
|
|
2757
2760
|
|
|
2758
2761
|
export function getLightness(color: string): number;
|
|
2759
2762
|
|
|
2763
|
+
export function generateUid(): string;
|
|
2764
|
+
|
|
2765
|
+
export function optionValueToDate(value: number): Date;
|
|
2766
|
+
|
|
2760
2767
|
export {
|
|
2761
2768
|
initFeed,
|
|
2762
2769
|
getFeed,
|