@univerjs-pro/engine-chart 0.9.2 → 0.9.3
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/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/model/echart-render-model.d.ts +2 -1
- package/lib/types/types.d.ts +1 -0
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
|
@@ -4,8 +4,9 @@ import * as echarts from 'echarts';
|
|
|
4
4
|
export declare class EChartRenderModel extends Disposable implements IChartRenderModel {
|
|
5
5
|
private _specConverters;
|
|
6
6
|
private _specOperators;
|
|
7
|
-
|
|
7
|
+
private _addWatermark;
|
|
8
8
|
constructor(_addWatermark: boolean);
|
|
9
|
+
updateWatermark(addWatermark: boolean): void;
|
|
9
10
|
private _addSpecConverters;
|
|
10
11
|
private _addSpecOperators;
|
|
11
12
|
createChartInstance(): IChartInstance<EChartSpec>;
|
package/lib/types/types.d.ts
CHANGED
|
@@ -372,6 +372,7 @@ export interface IChartRenderModelStylizeInit<Spec> {
|
|
|
372
372
|
export interface IChartRenderModel<Spec extends Record<string, any> = Record<string, any>> extends IDisposable {
|
|
373
373
|
toSpec(chartConfig: IChartConfig, style: ChartStyle): Spec;
|
|
374
374
|
stylizeSpec(spec: Spec, stylizeInit: IChartRenderModelStylizeInit<Spec>, rect: IChartHostRect): Spec;
|
|
375
|
+
updateWatermark(addWatermark: boolean): void;
|
|
375
376
|
createChartInstance(): IChartInstance<Spec>;
|
|
376
377
|
dispose(): void;
|
|
377
378
|
}
|