@visactor/vchart-types 1.10.6-alpha.1 → 1.10.6-alpha.2

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.
@@ -35,6 +35,7 @@ export interface IChart extends ICompilable {
35
35
  reDataFlow: () => void;
36
36
  setCanvasRect: (width: number, height: number) => void;
37
37
  getCanvasRect: () => ILayoutRect;
38
+ getViewRect: () => ILayoutRect;
38
39
  getOption: () => IChartOption;
39
40
  getEvent: () => IEvent;
40
41
  getGlobalScale: () => IGlobalScale;
@@ -5,7 +5,7 @@ import type { IBaseModelSpecTransformerResult, IModelConstructor, IModelMarkInfo
5
5
  import type { IRegion } from '../../region/interface';
6
6
  import type { RenderMode } from '../../typings/spec/common';
7
7
  import type { ISeries } from './series';
8
- import type { IMarkProgressiveConfig } from '../../mark/interface';
8
+ import type { IMarkOption, IMarkProgressiveConfig } from '../../mark/interface';
9
9
  import type { ISeriesSpec, StringOrNumber } from '../../typings';
10
10
  import type { TransformedLabelSpec } from '../../component/label';
11
11
  import type { SeriesMarkNameEnum, SeriesTypeEnum } from './type';
@@ -51,7 +51,7 @@ export type ISeriesStyleItem = {
51
51
  style?: any;
52
52
  };
53
53
  };
54
- export interface ISeriesMarkInitOption {
54
+ export interface ISeriesMarkInitOption extends Partial<IMarkOption> {
55
55
  themeSpec?: any;
56
56
  markSpec?: any;
57
57
  skipBeforeLayouted?: boolean;
@@ -36,7 +36,9 @@ export declare class BaseWordCloudSeries<T extends IBaseWordCloudSeriesSpec = IB
36
36
  protected _defaultFontFamily: string;
37
37
  protected _keyWordColorCallback: (datum: Datum) => string;
38
38
  protected _fillingColorCallback: (datum: Datum) => string;
39
+ protected _dataChange: boolean;
39
40
  setAttrFromSpec(): void;
41
+ protected initData(): void;
40
42
  protected _wordMark: ITextMark;
41
43
  initMark(): void;
42
44
  initMarkStyle(): void;