stz-chart-maker 2.1.0 → 2.1.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.
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4038 -4110
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -678,7 +678,6 @@ declare abstract class Chart<TType extends ChartType, TOptions extends CustomCha
|
|
|
678
678
|
protected plugins?: any | undefined;
|
|
679
679
|
protected get datasets(): CustomChartDatasets<TType>[];
|
|
680
680
|
protected set datasets(value: CustomChartDatasets<TType>[]);
|
|
681
|
-
static registry: Map<string, Constructor<any, any>>;
|
|
682
681
|
constructor(type: TType, labels: (string | number)[] | undefined, _datasets: CustomChartDatasets<TType>[], options: TOptions, plugins?: any | undefined);
|
|
683
682
|
static create<TType extends ChartType>(type: TType, labels: (string | number)[], datasets: CustomChartDatasets<TType>[], options?: CustomChartOptions<TType>, plugins?: Plugin$1): TType extends keyof ChartBuilderMap ? ChartBuilderMap[TType] : ChartBuilder<TType>;
|
|
684
683
|
static register<TType extends ChartType, TInstance>(type: TType, wrapperClass: Constructor<TType, TInstance>): void;
|
|
@@ -2771,7 +2770,9 @@ interface StzConfig {
|
|
|
2771
2770
|
errorLogging?: boolean;
|
|
2772
2771
|
silentMode?: boolean;
|
|
2773
2772
|
defaultColor?: string[];
|
|
2773
|
+
/** @deprecated no-op. Built-in chart types are bootstrapped at package load time. */
|
|
2774
2774
|
autoRegister?: boolean;
|
|
2775
|
+
/** @deprecated no-op. Built-in chart types are bootstrapped at package load time. */
|
|
2775
2776
|
registerTypes?: ChartType[];
|
|
2776
2777
|
}
|
|
2777
2778
|
/**
|
|
@@ -2785,8 +2786,7 @@ interface StzConfig {
|
|
|
2785
2786
|
* setChartConfig({
|
|
2786
2787
|
* errorLogging: true,
|
|
2787
2788
|
* silentMode: false,
|
|
2788
|
-
*
|
|
2789
|
-
* registerTypes: ['line', 'bar']
|
|
2789
|
+
* defaultColor: ['#111111', '#22c55e', '#3b82f6']
|
|
2790
2790
|
* });
|
|
2791
2791
|
* ```
|
|
2792
2792
|
*
|