@visactor/vchart-types 1.11.1-alpha.6 → 1.11.2-alpha.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.
@@ -53,6 +53,7 @@ export declare const registerScaleInOutAnimation: () => void;
53
53
  export declare const registerFadeInOutAnimation: () => void;
54
54
  export declare const registerCartesianGroupClipAnimation: () => void;
55
55
  export declare const registerLineAnimation: () => void;
56
+ export declare const registerAreaAnimation: () => void;
56
57
  export declare const registerVGrammarCommonAnimation: () => void;
57
58
  export declare const registerVGrammarRectAnimation: () => void;
58
59
  export declare const registerVGrammarArcAnimation: () => void;
@@ -17,7 +17,8 @@ export interface IItemContent extends IMarkerRef {
17
17
  customMark?: Partial<IMarkerState<IGroupGraphicAttribute>>;
18
18
  }
19
19
  export type IItemLine<T extends Partial<IMarkerSymbol> = IMarkerSymbol> = {
20
- type?: 'type-s' | 'type-do' | 'type-po' | 'type-op';
20
+ type?: 'type-s' | 'type-do' | 'type-po' | 'type-op' | 'type-arc';
21
+ arcRatio?: number;
21
22
  visible?: boolean;
22
23
  decorativeLine?: {
23
24
  visible?: boolean;
@@ -30,4 +31,9 @@ export type IItemLine<T extends Partial<IMarkerSymbol> = IMarkerSymbol> = {
30
31
  export interface IMarkPointTheme<T extends Partial<IMarkerSymbol> = Partial<IMarkerSymbol>> {
31
32
  itemLine?: IItemLine<T>;
32
33
  itemContent?: IItemContent;
34
+ targetSymbol?: {
35
+ offset?: number;
36
+ visible?: boolean;
37
+ size?: number;
38
+ } & Partial<IMarkerState<ISymbolMarkSpec>>;
33
39
  }
@@ -186,7 +186,7 @@ export declare class VChart implements IVChart {
186
186
  setRuntimeSpec(spec: any): void;
187
187
  private _initChartPlugin;
188
188
  private _chartPluginApply;
189
- protected _getMode(): (typeof RenderModeEnum)["desktop-browser"] | "desktop-browser" | "mobile-browser" | "node" | "worker" | "miniApp" | "wx" | "tt" | "desktop-miniApp" | "lynx";
189
+ protected _getMode(): (typeof RenderModeEnum)["desktop-browser"] | "desktop-browser" | "mobile-browser" | "node" | "worker" | "miniApp" | "wx" | "tt" | "harmony" | "desktop-miniApp" | "lynx";
190
190
  protected _getChartOption(type: string): IChartOption;
191
191
  }
192
192
  export declare const registerVChartCore: () => void;
@@ -6,3 +6,4 @@ export declare const registerNodeEnv: () => void;
6
6
  export declare const registerTaroEnv: () => void;
7
7
  export declare const registerWXEnv: () => void;
8
8
  export declare const registerTTEnv: () => void;
9
+ export declare const registerHarmonyEnv: () => void;
@@ -20,7 +20,7 @@ export declare abstract class BaseTooltipHandler extends BasePlugin implements I
20
20
  protected _option: Options;
21
21
  protected _chartOption: IChartOption;
22
22
  protected _env: RenderMode;
23
- get env(): "desktop-browser" | "mobile-browser" | "node" | "worker" | "miniApp" | "wx" | "tt" | "desktop-miniApp" | "lynx";
23
+ get env(): "desktop-browser" | "mobile-browser" | "node" | "worker" | "miniApp" | "wx" | "tt" | "harmony" | "desktop-miniApp" | "lynx";
24
24
  protected _component: Tooltip;
25
25
  protected _attributes?: ITooltipAttributes | null;
26
26
  protected _chartContainer: Maybe<HTMLElement>;
@@ -5,4 +5,4 @@ export interface IAreaAnimationParams {
5
5
  }
6
6
  export type AreaAppearPreset = 'clipIn' | 'fadeIn' | 'grow';
7
7
  export declare function areaPresetAnimation(params: IAreaAnimationParams, preset: AreaAppearPreset | boolean): IAnimationTypeConfig;
8
- export declare const registerAreaAnimation: () => void;
8
+ export declare const registerAreaSeriesAnimation: () => void;
@@ -22,6 +22,7 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
22
22
  private _viewBox;
23
23
  protected _categoryField: string;
24
24
  private _colorScale;
25
+ private _nodeList;
25
26
  getCategoryField(): string;
26
27
  setCategoryField(f: string): string;
27
28
  protected _valueField: string;
@@ -37,6 +38,8 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
37
38
  valueToPositionY(value: StringOrNumber | StringOrNumber[]): any;
38
39
  initMarkStyle(): void;
39
40
  protected _initNodeMarkStyle(): void;
41
+ protected _fillByNode: (datum: Datum) => any;
42
+ protected _fillByLink: (datum: Datum) => any;
40
43
  protected _initLinkMarkStyle(): void;
41
44
  protected _initLabelMarkStyle(): void;
42
45
  private _createText;
@@ -50,6 +50,7 @@ export declare enum RenderModeEnum {
50
50
  'miniApp' = "miniApp",
51
51
  'wx' = "wx",
52
52
  'tt' = "tt",
53
+ 'harmony' = "harmony",
53
54
  'desktop-miniApp' = "desktop-miniApp",
54
55
  'lynx' = "lynx"
55
56
  }