@barchart/chart-lib 2.307.0 → 2.308.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.
chart-lib/barchart.chart.d.ts
CHANGED
|
@@ -778,6 +778,10 @@ declare module "@barchart/chart-lib" {
|
|
|
778
778
|
nonEodLabelWithDate?: boolean;
|
|
779
779
|
/** The name of the ordinal scale, if applicable. Only shows in the tooltips. */
|
|
780
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;
|
|
781
785
|
};
|
|
782
786
|
|
|
783
787
|
export type DisplayModel = {
|
|
@@ -1509,7 +1513,9 @@ declare module "@barchart/chart-lib" {
|
|
|
1509
1513
|
marginBars?: number;
|
|
1510
1514
|
minPadding?: number;
|
|
1511
1515
|
maxPadding?: number;
|
|
1512
|
-
preventLabelOverlap?: boolean;
|
|
1516
|
+
preventLabelOverlap?: boolean; // deprecated
|
|
1517
|
+
preventVerticalLabelOverlap?: boolean;
|
|
1518
|
+
preventHorizontalLabelOverlap?: boolean;
|
|
1513
1519
|
includePercentChangeWithLastValue?: boolean;
|
|
1514
1520
|
snapAnnotationsToPrices?: boolean;
|
|
1515
1521
|
nonEodLabelWithDate?: boolean;
|