@barchart/chart-lib 2.298.0 → 2.299.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.
@@ -728,6 +728,10 @@ declare module "@barchart/chart-lib" {
728
728
  * @default false
729
729
  */
730
730
  preventLabelOverlap?: boolean;
731
+ /** If set to `true` will show (unless `showLastValue` is set to `None`) the percentage change between the last price and the first visible price of the main field.
732
+ * @default false
733
+ */
734
+ includePercentChangeWithLastValue?: boolean;
731
735
  /** When drawing annotations, if this is set to `true`, the annotation points (or anchors) will snap to the closest price point found on the chart.
732
736
  * @default false
733
737
  */
@@ -1495,6 +1499,7 @@ declare module "@barchart/chart-lib" {
1495
1499
  minPadding?: number;
1496
1500
  maxPadding?: number;
1497
1501
  preventLabelOverlap?: boolean;
1502
+ includePercentChangeWithLastValue?: boolean;
1498
1503
  snapAnnotationsToPrices?: boolean;
1499
1504
  nonEodLabelWithDate?: boolean;
1500
1505
  };