@barchart/chart-lib 2.376.6 → 2.377.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 +8 -2
- chart-lib/barchart.chart.js +8 -8
- chart-lib/package.json +1 -1
chart-lib/barchart.chart.d.ts
CHANGED
|
@@ -1487,18 +1487,22 @@ declare module "@barchart/chart-lib" {
|
|
|
1487
1487
|
|
|
1488
1488
|
export interface IMainPlotSymbolContext {
|
|
1489
1489
|
symbol: string;
|
|
1490
|
+
uid?: string;
|
|
1490
1491
|
}
|
|
1491
1492
|
|
|
1492
1493
|
export interface IMainPlotExpressionContext {
|
|
1493
1494
|
expression: string;
|
|
1495
|
+
uid?: string;
|
|
1494
1496
|
}
|
|
1495
1497
|
|
|
1496
1498
|
export interface IMainPlotForwardContext {
|
|
1497
1499
|
forward: string;
|
|
1500
|
+
uid?: string;
|
|
1498
1501
|
}
|
|
1499
1502
|
|
|
1500
1503
|
export interface IMainPlotSeasonalContext {
|
|
1501
1504
|
seasonal: string;
|
|
1505
|
+
uid?: string;
|
|
1502
1506
|
}
|
|
1503
1507
|
|
|
1504
1508
|
export interface AggregationAccessor {
|
|
@@ -1648,14 +1652,16 @@ declare module "@barchart/chart-lib" {
|
|
|
1648
1652
|
export interface CompareAccessor {
|
|
1649
1653
|
id: string;
|
|
1650
1654
|
context: {
|
|
1655
|
+
id?: "Get" | "Update";
|
|
1651
1656
|
plots?: ICompareItem[];
|
|
1652
1657
|
alignOnExpirations?: boolean;
|
|
1653
1658
|
};
|
|
1654
1659
|
}
|
|
1655
1660
|
|
|
1656
1661
|
export interface ICompareItem {
|
|
1662
|
+
uid?: string;
|
|
1657
1663
|
symbol?: string;
|
|
1658
|
-
type:
|
|
1664
|
+
type: "Symbol" | "Expression" | "Seasonal";
|
|
1659
1665
|
expression?: string;
|
|
1660
1666
|
seasonal?: string;
|
|
1661
1667
|
leftScale?: boolean; // NOTE: deprecated, use oppositeScale instead
|
|
@@ -2040,7 +2046,7 @@ declare module "@barchart/chart-lib" {
|
|
|
2040
2046
|
|
|
2041
2047
|
export type MainPlotApiModel = {
|
|
2042
2048
|
[Property in MainPlotTypeLower]?: string;
|
|
2043
|
-
} & { template?: string };
|
|
2049
|
+
} & { template?: string; uid?: string };
|
|
2044
2050
|
|
|
2045
2051
|
/** Chart accessor is the main API entry point, it essentially _is_ the chart. */
|
|
2046
2052
|
export class ChartAccessor {
|