@barchart/chart-lib 2.241.1 → 2.242.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 +2 -2
- chart-lib/barchart.chart.js +1 -1
- chart-lib/package.json +1 -1
chart-lib/barchart.chart.d.ts
CHANGED
|
@@ -1142,7 +1142,7 @@ declare module "@barchart/chart-lib" {
|
|
|
1142
1142
|
template?: string;
|
|
1143
1143
|
};
|
|
1144
1144
|
|
|
1145
|
-
type LoadOptions = {
|
|
1145
|
+
export type LoadOptions = {
|
|
1146
1146
|
keepOldAnnotations: boolean;
|
|
1147
1147
|
keepNewAnnotations: boolean;
|
|
1148
1148
|
keepOldCompare: boolean;
|
|
@@ -1820,7 +1820,7 @@ declare module "@barchart/chart-lib" {
|
|
|
1820
1820
|
/** Main API entry point. Please check out online documentation for details. */
|
|
1821
1821
|
change(...actions: ChartAction[]): void | any;
|
|
1822
1822
|
/** Load a chart definition into this chart instance. The `options` define some rarely used, well, options like whether we should keep annotations or not etc. */
|
|
1823
|
-
load(definition: string, options?: LoadOptions): void;
|
|
1823
|
+
load(definition: string, options?: Partial<LoadOptions>): void;
|
|
1824
1824
|
/** Save a chart definition into a string. */
|
|
1825
1825
|
save(): string;
|
|
1826
1826
|
/** Set the title for the chart. Not used often. Is ephemeral - does not get saved with the chart. */
|