@univerjs-pro/engine-chart 0.9.2 → 0.9.3-nightly.202507250750

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.
@@ -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
- readonly _addWatermark: boolean;
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>;
@@ -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
  }