@barchart/chart-lib 2.306.0 → 2.308.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,12 @@ 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;
|
|
781
|
+
/** If set to `true` will not allow the values (typically dates) shown on the time/horizontal scale to visually overlap; if needed, the values will be moved out of their normal position so that they are fully visible.
|
|
782
|
+
* @default false
|
|
783
|
+
*/
|
|
784
|
+
preventLabelOverlap?: boolean;
|
|
779
785
|
};
|
|
780
786
|
|
|
781
787
|
export type DisplayModel = {
|
|
@@ -1511,6 +1517,7 @@ declare module "@barchart/chart-lib" {
|
|
|
1511
1517
|
includePercentChangeWithLastValue?: boolean;
|
|
1512
1518
|
snapAnnotationsToPrices?: boolean;
|
|
1513
1519
|
nonEodLabelWithDate?: boolean;
|
|
1520
|
+
ordinalName?: string;
|
|
1514
1521
|
};
|
|
1515
1522
|
}
|
|
1516
1523
|
|
|
@@ -2757,6 +2764,10 @@ declare module "@barchart/chart-lib" {
|
|
|
2757
2764
|
|
|
2758
2765
|
export function getLightness(color: string): number;
|
|
2759
2766
|
|
|
2767
|
+
export function generateUid(): string;
|
|
2768
|
+
|
|
2769
|
+
export function optionValueToDate(value: number): Date;
|
|
2770
|
+
|
|
2760
2771
|
export {
|
|
2761
2772
|
initFeed,
|
|
2762
2773
|
getFeed,
|