@visactor/vchart-types 2.0.0-alpha.0 → 2.0.0-alpha.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.
Files changed (255) hide show
  1. package/package.json +1 -1
  2. package/tsconfig.tsbuildinfo +1 -1
  3. package/types/animation/animate-manager.d.ts +0 -10
  4. package/types/animation/animation-planner.d.ts +13 -0
  5. package/types/animation/config.d.ts +5 -5
  6. package/types/animation/grammar-dector.d.ts +22 -0
  7. package/types/animation/index.d.ts +7 -0
  8. package/types/animation/interface.d.ts +14 -7
  9. package/types/animation/sequential-animate.d.ts +1 -0
  10. package/types/animation/state-transition.d.ts +1 -0
  11. package/types/animation/strategy/common.d.ts +17 -0
  12. package/types/animation/strategy/horizontal-bar-split.d.ts +11 -0
  13. package/types/animation/strategy/vertical-bar-split.d.ts +11 -0
  14. package/types/animation/utils.d.ts +2 -2
  15. package/types/chart/area/area.d.ts +1 -0
  16. package/types/chart/bar/bar.d.ts +1 -0
  17. package/types/chart/bar/index.d.ts +0 -1
  18. package/types/chart/bar/interface.d.ts +1 -5
  19. package/types/chart/base/base-chart.d.ts +12 -2
  20. package/types/chart/box-plot/box-plot.d.ts +1 -0
  21. package/types/chart/common/common.d.ts +1 -0
  22. package/types/chart/common/interface.d.ts +5 -5
  23. package/types/chart/funnel/index.d.ts +0 -1
  24. package/types/chart/funnel/interface.d.ts +1 -4
  25. package/types/chart/histogram/histogram.d.ts +1 -0
  26. package/types/chart/histogram/index.d.ts +0 -1
  27. package/types/chart/histogram/interface.d.ts +1 -4
  28. package/types/chart/index.d.ts +19 -17
  29. package/types/chart/interface/chart.d.ts +11 -1
  30. package/types/chart/interface/type.d.ts +1 -8
  31. package/types/chart/line/line.d.ts +1 -0
  32. package/types/chart/mosaic/mosaic.d.ts +1 -0
  33. package/types/chart/pictogram/interface.d.ts +1 -1
  34. package/types/chart/pie/index.d.ts +0 -1
  35. package/types/chart/pie/interface.d.ts +1 -5
  36. package/types/chart/progress/circular/circular.d.ts +1 -0
  37. package/types/chart/progress/linear/linear.d.ts +1 -0
  38. package/types/chart/radar/radar.d.ts +1 -0
  39. package/types/chart/range-area/range-area.d.ts +1 -0
  40. package/types/chart/range-column/index.d.ts +0 -1
  41. package/types/chart/range-column/interface.d.ts +1 -5
  42. package/types/chart/range-column/range-column.d.ts +1 -0
  43. package/types/chart/rose/rose.d.ts +1 -0
  44. package/types/chart/scatter/scatter.d.ts +1 -0
  45. package/types/chart/waterfall/waterfall.d.ts +1 -0
  46. package/types/chart/word-cloud/index.d.ts +0 -1
  47. package/types/chart/word-cloud/interface.d.ts +1 -5
  48. package/types/chart/word-cloud/word-cloud.d.ts +4 -8
  49. package/types/compile/interface/compiler.d.ts +2 -1
  50. package/types/compile/mark/compilable-mark.d.ts +1 -0
  51. package/types/compile/mark/interface.d.ts +9 -4
  52. package/types/compile/mark/mark-state-manager.d.ts +1 -0
  53. package/types/compile/morph.d.ts +3 -0
  54. package/types/component/axis/base-axis.d.ts +5 -0
  55. package/types/component/axis/cartesian/axis.d.ts +6 -13
  56. package/types/component/axis/cartesian/band-axis.d.ts +6 -0
  57. package/types/component/axis/cartesian/linear-axis.d.ts +2 -1
  58. package/types/component/axis/cartesian/log-axis.d.ts +6 -0
  59. package/types/component/axis/cartesian/symlog-axis.d.ts +6 -0
  60. package/types/component/axis/cartesian/time-axis.d.ts +5 -0
  61. package/types/component/axis/cartesian/util/common.d.ts +3 -1
  62. package/types/component/axis/interface/spec.d.ts +7 -2
  63. package/types/component/axis/mixin/band-axis-mixin.d.ts +1 -0
  64. package/types/component/axis/polar/band-axis.d.ts +6 -0
  65. package/types/component/axis/polar/linear-axis.d.ts +6 -0
  66. package/types/component/axis/polar/util/common.d.ts +4 -1
  67. package/types/component/axis/util.d.ts +2 -6
  68. package/types/component/base/base-component.d.ts +0 -3
  69. package/types/component/base/util.d.ts +1 -2
  70. package/types/component/brush/brush.d.ts +29 -26
  71. package/types/component/brush/interface.d.ts +2 -0
  72. package/types/component/common/trigger/desktop.d.ts +0 -2
  73. package/types/component/common/trigger/interface.d.ts +0 -2
  74. package/types/component/common/trigger/mobile.d.ts +0 -2
  75. package/types/component/crosshair/base.d.ts +1 -1
  76. package/types/component/crosshair/cartesian.d.ts +4 -1
  77. package/types/component/crosshair/interface/spec.d.ts +1 -1
  78. package/types/component/crosshair/polar.d.ts +4 -1
  79. package/types/component/crosshair/utils/cartesian.d.ts +11 -1
  80. package/types/component/crosshair/utils/common.d.ts +2 -3
  81. package/types/component/custom-mark/custom-mark.d.ts +1 -0
  82. package/types/component/data-zoom/data-zoom/data-zoom.d.ts +3 -0
  83. package/types/component/data-zoom/data-zoom/interface.d.ts +2 -3
  84. package/types/component/data-zoom/scroll-bar/scroll-bar.d.ts +3 -0
  85. package/types/component/index.d.ts +14 -8
  86. package/types/component/indicator/indicator.d.ts +3 -0
  87. package/types/component/interface/common.d.ts +0 -2
  88. package/types/component/interface/theme.d.ts +1 -3
  89. package/types/component/interface/type.d.ts +0 -1
  90. package/types/component/label/base-label.d.ts +4 -4
  91. package/types/component/label/interface.d.ts +10 -5
  92. package/types/component/label/total-label.d.ts +4 -1
  93. package/types/component/label/util.d.ts +1 -1
  94. package/types/component/legend/continuous/legend.d.ts +4 -0
  95. package/types/component/legend/discrete/legend.d.ts +3 -0
  96. package/types/component/legend/util.d.ts +1 -1
  97. package/types/component/marker/mark-area/cartesian-mark-area.d.ts +3 -0
  98. package/types/component/marker/mark-area/interface/theme.d.ts +4 -3
  99. package/types/component/marker/mark-area/polar-mark-area.d.ts +3 -0
  100. package/types/component/marker/mark-line/cartesian-mark-line.d.ts +3 -0
  101. package/types/component/marker/mark-line/interface/theme.d.ts +4 -3
  102. package/types/component/marker/mark-line/polar-mark-line.d.ts +3 -0
  103. package/types/component/marker/mark-point/cartesian-mark-point.d.ts +3 -0
  104. package/types/component/marker/mark-point/geo-mark-point.d.ts +3 -0
  105. package/types/component/marker/mark-point/interface/theme.d.ts +5 -2
  106. package/types/component/marker/mark-point/polar-mark-point.d.ts +3 -0
  107. package/types/component/marker/utils.d.ts +12 -0
  108. package/types/component/player/player.d.ts +3 -0
  109. package/types/component/title/title.d.ts +3 -0
  110. package/types/component/tooltip/constant.d.ts +6 -2
  111. package/types/component/tooltip/interface/common.d.ts +2 -1
  112. package/types/component/tooltip/processor/base.d.ts +4 -5
  113. package/types/component/tooltip/processor/dimension-tooltip.d.ts +1 -0
  114. package/types/component/tooltip/processor/group-tooltip.d.ts +1 -0
  115. package/types/component/tooltip/processor/interface.d.ts +11 -0
  116. package/types/component/tooltip/processor/mark-tooltip.d.ts +1 -0
  117. package/types/component/tooltip/processor/util.d.ts +1 -1
  118. package/types/component/tooltip/tooltip.d.ts +5 -2
  119. package/types/component/util.d.ts +1 -2
  120. package/types/constant/event.d.ts +2 -0
  121. package/types/core/factory.d.ts +16 -12
  122. package/types/core/index.d.ts +16 -1
  123. package/types/core/interface.d.ts +6 -1
  124. package/types/core/vchart.d.ts +2 -1
  125. package/types/data/transforms/circle-packing.d.ts +1 -1
  126. package/types/data/transforms/data-key.d.ts +1 -1
  127. package/types/data/transforms/flatten.d.ts +1 -1
  128. package/types/data/transforms/funnel.d.ts +1 -6
  129. package/types/data/transforms/pictogram.d.ts +2 -10
  130. package/types/data/transforms/sankey-links.d.ts +1 -2
  131. package/types/data/transforms/sankey-nodes.d.ts +1 -2
  132. package/types/data/transforms/sankey.d.ts +4 -4
  133. package/types/data/transforms/sunburst.d.ts +1 -1
  134. package/types/data/transforms/treemap.d.ts +1 -1
  135. package/types/data/transforms/venn.d.ts +1 -1
  136. package/types/event/event-dispatcher.d.ts +4 -1
  137. package/types/event/event.d.ts +4 -1
  138. package/types/event/events/dimension/util/cartesian.d.ts +2 -1
  139. package/types/event/events/index.d.ts +1 -5
  140. package/types/event/index.d.ts +1 -1
  141. package/types/event/interface.d.ts +13 -4
  142. package/types/index-harmony-simple.d.ts +2 -3
  143. package/types/index-harmony.d.ts +1 -1
  144. package/types/index.d.ts +12 -0
  145. package/types/interaction/index.d.ts +3 -2
  146. package/types/interaction/triggers/enum.d.ts +1 -3
  147. package/types/interaction/zoom/zoomable.d.ts +4 -0
  148. package/types/layout/base-layout.d.ts +12 -9
  149. package/types/layout/index.d.ts +4 -4
  150. package/types/layout/interface.d.ts +6 -1
  151. package/types/layout/layout-item.d.ts +5 -0
  152. package/types/layout/util.d.ts +17 -4
  153. package/types/mark/arc.d.ts +1 -1
  154. package/types/mark/base/base-line.d.ts +11 -2
  155. package/types/mark/base/base-mark.d.ts +46 -17
  156. package/types/mark/cell.d.ts +2 -2
  157. package/types/mark/component.d.ts +1 -0
  158. package/types/mark/glyph.d.ts +1 -0
  159. package/types/mark/group.d.ts +2 -1
  160. package/types/mark/index.d.ts +8 -7
  161. package/types/mark/interface/common.d.ts +20 -0
  162. package/types/mark/interface/mark.d.ts +2 -4
  163. package/types/mark/interface/type.d.ts +0 -3
  164. package/types/mark/rule.d.ts +2 -2
  165. package/types/mark/symbol.d.ts +2 -3
  166. package/types/mark/text.d.ts +2 -2
  167. package/types/mark/transform/symbol-overlap.d.ts +0 -1
  168. package/types/mark/utils/common.d.ts +0 -1
  169. package/types/model/base-model.d.ts +3 -2
  170. package/types/model/interface.d.ts +7 -2
  171. package/types/model/layout-model.d.ts +2 -1
  172. package/types/plugin/chart/index.d.ts +1 -0
  173. package/types/plugin/components/tooltip-handler/utils/attribute.d.ts +2 -3
  174. package/types/plugin/components/tooltip-handler/utils/position.d.ts +1 -12
  175. package/types/plugin/other.d.ts +0 -1
  176. package/types/region/interface.d.ts +0 -2
  177. package/types/region/region.d.ts +0 -2
  178. package/types/series/area/area.d.ts +2 -1
  179. package/types/series/bar/animation.d.ts +0 -1
  180. package/types/series/bar/bar.d.ts +6 -6
  181. package/types/series/bar/constant.d.ts +0 -1
  182. package/types/series/bar/interface.d.ts +1 -7
  183. package/types/series/base/base-series-transformer.d.ts +1 -1
  184. package/types/series/base/base-series.d.ts +2 -3
  185. package/types/series/box-plot/animation.d.ts +52 -0
  186. package/types/series/box-plot/box-plot.d.ts +3 -0
  187. package/types/series/circle-packing/circle-packing.d.ts +3 -0
  188. package/types/series/correlation/correlation.d.ts +3 -0
  189. package/types/series/dot/dot.d.ts +3 -0
  190. package/types/series/funnel/constant.d.ts +0 -1
  191. package/types/series/funnel/funnel.d.ts +7 -9
  192. package/types/series/funnel/interface.d.ts +2 -13
  193. package/types/series/funnel/tooltip-helper.d.ts +3 -1
  194. package/types/series/gauge/gauge-pointer.d.ts +3 -0
  195. package/types/series/gauge/gauge.d.ts +3 -0
  196. package/types/series/geo/geo.d.ts +1 -2
  197. package/types/series/heatmap/heatmap.d.ts +3 -0
  198. package/types/series/index.d.ts +24 -19
  199. package/types/series/interface/theme.d.ts +5 -16
  200. package/types/series/interface/type.d.ts +1 -11
  201. package/types/series/line/line.d.ts +3 -0
  202. package/types/series/link/link.d.ts +3 -0
  203. package/types/series/liquid/liquid.d.ts +3 -0
  204. package/types/series/map/map.d.ts +3 -0
  205. package/types/series/mosaic/mosaic.d.ts +2 -0
  206. package/types/series/pictogram/pictogram.d.ts +19 -13
  207. package/types/series/pictogram/tooltip-helper.d.ts +2 -2
  208. package/types/series/pie/animation/animation.d.ts +2 -3
  209. package/types/series/pie/constant.d.ts +0 -1
  210. package/types/series/pie/interface.d.ts +1 -11
  211. package/types/series/pie/pie.d.ts +5 -5
  212. package/types/series/polar/animation.d.ts +2 -4
  213. package/types/series/polar/progress-like/interface.d.ts +1 -0
  214. package/types/series/progress/circular/circular.d.ts +3 -0
  215. package/types/series/progress/linear/animation.d.ts +1 -1
  216. package/types/series/progress/linear/interface.d.ts +1 -0
  217. package/types/series/progress/linear/linear.d.ts +3 -0
  218. package/types/series/radar/animation.d.ts +1 -1
  219. package/types/series/radar/radar.d.ts +3 -0
  220. package/types/series/range-column/constant.d.ts +0 -1
  221. package/types/series/range-column/interface.d.ts +0 -3
  222. package/types/series/range-column/range-column.d.ts +5 -4
  223. package/types/series/rose/rose.d.ts +3 -0
  224. package/types/series/sankey/animation.d.ts +13 -0
  225. package/types/series/sankey/interface.d.ts +0 -1
  226. package/types/series/sankey/sankey.d.ts +3 -0
  227. package/types/series/scatter/scatter.d.ts +3 -0
  228. package/types/series/sunburst/interface.d.ts +1 -1
  229. package/types/series/sunburst/sunburst.d.ts +3 -0
  230. package/types/series/treemap/interface.d.ts +1 -1
  231. package/types/series/treemap/treemap.d.ts +3 -0
  232. package/types/series/venn/animation.d.ts +11 -0
  233. package/types/series/venn/venn.d.ts +3 -0
  234. package/types/series/waterfall/waterfall.d.ts +4 -0
  235. package/types/series/word-cloud/animation.d.ts +1 -3
  236. package/types/series/word-cloud/base.d.ts +3 -2
  237. package/types/series/word-cloud/interface.d.ts +1 -19
  238. package/types/theme/builtin/common/component/axis/cartesian-axis.d.ts +0 -1
  239. package/types/theme/builtin/common/series/funnel.d.ts +2 -2
  240. package/types/theme/builtin/common/series/word-cloud.d.ts +1 -2
  241. package/types/theme/builtin/index.d.ts +3 -1
  242. package/types/theme/color-scheme/util.d.ts +1 -1
  243. package/types/typings/spec/chart.d.ts +6 -12
  244. package/types/typings/spec/common.d.ts +3 -5
  245. package/types/typings/tooltip/position.d.ts +1 -1
  246. package/types/typings/visual.d.ts +2 -11
  247. package/types/util/mark.d.ts +1 -1
  248. package/types/util/region.d.ts +5 -0
  249. package/types/util/scale.d.ts +1 -0
  250. package/types/util/theme/common.d.ts +1 -1
  251. package/types/util/theme/merge-theme.d.ts +2 -2
  252. package/types/util/theme/preprocess.d.ts +1 -2
  253. package/types/vrender-tools.d.ts +1 -0
  254. package/types/interaction/triggers/element-highlight-by-graphic-name.d.ts +0 -13
  255. package/types/interaction/triggers/element-select-by-graphic-name.d.ts +0 -8
@@ -11,6 +11,9 @@ export declare class MapSeries<T extends IMapSeriesSpec = IMapSeriesSpec> extend
11
11
  static readonly type: string;
12
12
  type: SeriesTypeEnum;
13
13
  static readonly mark: SeriesMarkMap;
14
+ static readonly builtInTheme: {
15
+ map: import("./interface").IMapSeriesTheme;
16
+ };
14
17
  static readonly transformerConstructor: any;
15
18
  readonly transformerConstructor: typeof MapSeriesSpecTransformer;
16
19
  map: string;
@@ -1,10 +1,12 @@
1
1
  import { BarSeries } from '../bar/bar';
2
2
  import { SeriesTypeEnum } from '../interface/type';
3
3
  import type { IMosaicSeriesSpec } from './interface';
4
+ import type { IBarSeriesTheme } from '../bar/interface';
4
5
  export declare class MosaicSeries<T extends IMosaicSeriesSpec = IMosaicSeriesSpec> extends BarSeries<any> {
5
6
  static readonly type: string;
6
7
  type: SeriesTypeEnum;
7
8
  protected _spec: T;
9
+ static readonly builtInTheme: Record<string, IBarSeriesTheme>;
8
10
  static readonly transformerConstructor: any;
9
11
  readonly transformerConstructor: any;
10
12
  getStack(): boolean;
@@ -8,12 +8,12 @@ import type { GroupMark } from '../../mark';
8
8
  import { PictogramSeriesSpecTransformer } from './pictogram-transformer';
9
9
  import type { IMatrix } from '@visactor/vutils';
10
10
  import type { Datum } from '../../typings';
11
- import type { GraphicEventType, IGroup } from '@visactor/vrender-core';
12
- import type { IHoverSpec, ISelectSpec } from '../../interaction/interface/spec';
11
+ import type { Group } from '@visactor/vrender-core';
12
+ import type { IHoverSpec, ISelectSpec } from '../../interaction/interface';
13
13
  import { STATE_VALUE_ENUM } from '../../compile/mark';
14
+ import type { EventType } from '@visactor/vgrammar-core';
14
15
  import type { IMark } from '../../mark/interface';
15
16
  import type { IPoint } from '../../typings/coordinate';
16
- import { TRIGGER_TYPE_ENUM } from '../../interaction/triggers/enum';
17
17
  export interface SVGParsedElementExtend extends SVGParsedElement {
18
18
  _finalAttributes: Record<string, any>;
19
19
  _uniqueId: string;
@@ -33,17 +33,23 @@ export declare class PictogramSeries<T extends IPictogramSeriesSpec = IPictogram
33
33
  getDatumName(datum: SVGParsedElementExtend): string;
34
34
  getMarksWithoutRoot(): IMark[];
35
35
  protected _buildMarkAttributeContext(): void;
36
- protected _defaultHoverConfig(finalHoverSpec: IHoverSpec): {
37
- type: TRIGGER_TYPE_ENUM;
38
- trigger: GraphicEventType;
39
- triggerOff: GraphicEventType;
36
+ protected _defaultHoverConfig(selector: string[], finalHoverSpec: IHoverSpec): {
37
+ seriesId: number;
38
+ regionId: number;
39
+ selector: string[];
40
+ type: string;
41
+ trigger: EventType;
42
+ triggerOff: EventType;
40
43
  blurState: STATE_VALUE_ENUM;
41
44
  highlightState: STATE_VALUE_ENUM;
42
45
  };
43
- protected _defaultSelectConfig(finalSelectSpec: ISelectSpec): {
44
- type: TRIGGER_TYPE_ENUM;
45
- trigger: GraphicEventType;
46
- triggerOff: GraphicEventType;
46
+ protected _defaultSelectConfig(selector: string[], finalSelectSpec: ISelectSpec): {
47
+ type: string;
48
+ seriesId: number;
49
+ regionId: number;
50
+ selector: string[];
51
+ trigger: EventType;
52
+ triggerOff: EventType;
47
53
  reverseState: STATE_VALUE_ENUM;
48
54
  state: STATE_VALUE_ENUM;
49
55
  isMultiple: boolean;
@@ -57,10 +63,10 @@ export declare class PictogramSeries<T extends IPictogramSeriesSpec = IPictogram
57
63
  dataToPosition(datum: Datum, global?: boolean): IPoint;
58
64
  coordToPosition(point: IPoint): IPoint | undefined;
59
65
  getRootMatrix(): IMatrix;
60
- getPictogramRootGraphic(): IGroup;
66
+ getPictogramRootGraphic(): Group;
61
67
  initData(): void;
62
68
  mapViewDataUpdate(): void;
63
- onLayoutEnd(): void;
69
+ onLayoutEnd(ctx: any): void;
64
70
  updateSVGSize(): void;
65
71
  protected initEvent(): void;
66
72
  handleZoom(e: ZoomEventParam): void;
@@ -1,7 +1,7 @@
1
1
  import type { ISeriesTooltipHelper } from '../interface';
2
2
  import { BaseSeriesTooltipHelper } from '../base/tooltip-helper';
3
- import { TooltipHandlerParams } from '../../component';
4
- import { Datum } from '../../typings';
3
+ import type { TooltipHandlerParams } from '../../component';
4
+ import type { Datum } from '../../typings';
5
5
  export declare class PictogramSeriesTooltipHelper extends BaseSeriesTooltipHelper implements ISeriesTooltipHelper {
6
6
  dimensionTooltipTitleCallback: (datum: any) => any;
7
7
  markTooltipValueCallback: (datum: Datum, params?: TooltipHandlerParams) => any;
@@ -2,8 +2,8 @@ import type { IAnimationTypeConfig } from '../../../animation/interface';
2
2
  import { AnimationStateEnum } from '../../../animation/interface';
3
3
  import type { Datum } from '../../../typings';
4
4
  import type { IPieAnimationParams, PieAppearPreset } from '../interface';
5
- import type { IGraphic } from '@visactor/vrender-core';
6
- export declare function pieGrowOption(pieParams: IPieAnimationParams, isOverall: boolean, state: AnimationStateEnum): (datum: Datum, element: IGraphic, params: AnimationStateEnum) => {
5
+ import type { IMarkGraphic } from '../../../core';
6
+ export declare function pieGrowOption(pieParams: IPieAnimationParams, isOverall: boolean, state: AnimationStateEnum): (datum: Datum, graphic: IMarkGraphic, params: AnimationStateEnum) => {
7
7
  overall: number;
8
8
  } | {
9
9
  overall: boolean;
@@ -20,4 +20,3 @@ export declare function piePresetAnimation(params: IPieAnimationParams, preset:
20
20
  };
21
21
  export declare const registerPieAnimation: () => void;
22
22
  export declare const registerEmptyCircleAnimation: () => void;
23
- export declare const registerPie3dAnimation: () => void;
@@ -1,3 +1,2 @@
1
1
  import type { SeriesMarkMap } from '../interface/common';
2
2
  export declare const pieSeriesMark: SeriesMarkMap;
3
- export declare const pie3dSeriesMark: SeriesMarkMap;
@@ -1,6 +1,6 @@
1
1
  import type { IAnimationSpec } from '../../animation/spec';
2
2
  import type { IMarkSpec, IMarkTheme } from '../../typings/spec/common';
3
- import type { IArcMarkSpec, ITextMarkSpec, IArc3dMarkSpec, ILineMarkSpec } from '../../typings/visual';
3
+ import type { IArcMarkSpec, ITextMarkSpec, ILineMarkSpec } from '../../typings/visual';
4
4
  import type { SeriesMarkNameEnum } from '../interface/type';
5
5
  import type { IPolarSeriesSpec, IPolarSeriesTheme } from '../polar/interface';
6
6
  import type { ILabelSpec, IMultiLabelSpec } from '../../component/label/interface';
@@ -51,16 +51,6 @@ export interface IPieSeriesTheme extends IPolarSeriesTheme {
51
51
  outerLabel?: IArcLabelSpec;
52
52
  emptyCircle?: Partial<IMarkTheme<IArcMarkSpec>>;
53
53
  }
54
- export type IPie3dSeriesSpec = {
55
- type: 'pie3d';
56
- angle3d?: number;
57
- } & Omit<IPieSeriesSpec, 'type'>;
58
- export interface IPie3dSeriesTheme extends IPolarSeriesTheme {
59
- [SeriesMarkNameEnum.pie3d]?: Partial<IMarkTheme<IArc3dMarkSpec>>;
60
- [SeriesMarkNameEnum.label]?: IArcLabelSpec;
61
- innerLabel?: IArcLabelSpec;
62
- outerLabel?: IArcLabelSpec;
63
- }
64
54
  export interface IArcLabelLineSpec extends Omit<IMarkSpec<ILineMarkSpec>, 'customShape'> {
65
55
  visible?: boolean;
66
56
  line1MinLength?: number;
@@ -1,18 +1,18 @@
1
1
  import type { IPoint, Datum, StateValueType } from '../../typings';
2
2
  import { PolarSeries } from '../polar/polar';
3
3
  import type { IArcMark, IMark, IPathMark, ITextMark } from '../../mark/interface';
4
- import { MarkTypeEnum } from '../../mark/interface/type';
5
4
  import type { IArcSeries, SeriesMarkMap } from '../interface';
6
- import { SeriesMarkNameEnum, SeriesTypeEnum } from '../interface/type';
7
- import type { IBasePieSeriesSpec, IPieSeriesSpec } from './interface';
5
+ import { SeriesTypeEnum } from '../interface/type';
6
+ import type { IBasePieSeriesSpec, IPieSeriesSpec, IPieSeriesTheme } from './interface';
8
7
  import { PieSeriesSpecTransformer } from './pie-transformer';
9
8
  import type { ICompilableData } from '../../compile/data';
10
9
  export declare class BasePieSeries<T extends IBasePieSeriesSpec> extends PolarSeries<T> implements IArcSeries {
11
10
  static readonly transformerConstructor: any;
12
11
  readonly transformerConstructor: typeof PieSeriesSpecTransformer;
13
- protected _pieMarkName: SeriesMarkNameEnum;
14
- protected _pieMarkType: MarkTypeEnum;
12
+ protected _pieMarkName: string;
13
+ protected _pieMarkType: string;
15
14
  static readonly mark: SeriesMarkMap;
15
+ static readonly builtInTheme: Record<string, IPieSeriesTheme>;
16
16
  protected _viewDataLabel: ICompilableData;
17
17
  getCenter: () => IPoint;
18
18
  protected _centerOffset: number;
@@ -1,6 +1,6 @@
1
1
  import type { EasingType } from '@visactor/vrender-core';
2
2
  import type { IPointLike } from '@visactor/vutils';
3
- import { ACustomAnimate, TagPointsUpdate } from '@visactor/vrender-core';
3
+ import { ACustomAnimate, TagPointsUpdate } from '@visactor/vrender-animate';
4
4
  export declare class PolarPointUpdate extends ACustomAnimate<{
5
5
  x: number;
6
6
  y: number;
@@ -30,9 +30,7 @@ export declare class PolarTagPointsUpdate extends TagPointsUpdate {
30
30
  private interpolatePoints;
31
31
  private _center;
32
32
  private _prevCenter;
33
- constructor(from: any, to: any, duration: number, easing: EasingType, params?: {
34
- newPointAnimateType?: 'grow' | 'appear';
35
- });
33
+ onBind(): void;
36
34
  onUpdate(end: boolean, ratio: number, out: Record<string, any>): void;
37
35
  private _interpolationSinglePoint;
38
36
  private polarPointInterpolation;
@@ -17,6 +17,7 @@ export interface IProgressLikeSeriesSpec extends IPolarSeriesSpec {
17
17
  roundCap?: boolean | [boolean, boolean];
18
18
  cornerRadius?: number;
19
19
  tickMask?: Omit<IMarkSpec<IArcMarkSpec>, 'state'> & ITickMaskSpec;
20
+ clamp?: boolean;
20
21
  }
21
22
  export interface IProgressLikeSeriesTheme extends IPolarSeriesTheme {
22
23
  roundCap?: boolean | [boolean, boolean];
@@ -9,6 +9,9 @@ export declare class CircularProgressSeries<T extends ICircularProgressSeriesSpe
9
9
  static readonly type: string;
10
10
  type: SeriesTypeEnum;
11
11
  static readonly mark: SeriesMarkMap;
12
+ static readonly builtInTheme: {
13
+ circularProgress: import("./interface").ICircularProgressSeriesTheme;
14
+ };
12
15
  static readonly transformerConstructor: any;
13
16
  readonly transformerConstructor: typeof CircularProgressSeriesSpecTransformer;
14
17
  private _progressMark;
@@ -2,5 +2,5 @@ import type { ILinearProgressAnimationParams, LinearProgressAppearPreset } from
2
2
  import type { IAnimationTypeConfig } from '../../../animation/interface';
3
3
  export declare const linearProgressDisappear: (params: ILinearProgressAnimationParams) => IAnimationTypeConfig;
4
4
  export declare const Appear_FadeIn: IAnimationTypeConfig;
5
- export declare function linearProgressPresetAnimation(params: ILinearProgressAnimationParams, preset: LinearProgressAppearPreset | boolean): IAnimationTypeConfig;
5
+ export declare function linearProgressPresetAnimation(params: ILinearProgressAnimationParams, preset?: LinearProgressAppearPreset | boolean): IAnimationTypeConfig;
6
6
  export declare const registerLinearProgressAnimation: () => void;
@@ -14,6 +14,7 @@ export interface ILinearProgressSeriesSpec extends IProgressSeriesSpec, IAnimati
14
14
  yField: string | string[];
15
15
  direction?: DirectionType;
16
16
  bandWidth?: number;
17
+ clamp?: boolean;
17
18
  [SeriesMarkNameEnum.progress]?: IMarkSpec<IRectMarkSpec> & {
18
19
  topPadding?: number;
19
20
  bottomPadding?: number;
@@ -7,6 +7,9 @@ export declare class LinearProgressSeries<T extends ILinearProgressSeriesSpec =
7
7
  static readonly type: string;
8
8
  type: SeriesTypeEnum;
9
9
  static readonly mark: SeriesMarkMap;
10
+ static readonly builtInTheme: {
11
+ linearProgress: import("./interface").ILinearProgressSeriesTheme;
12
+ };
10
13
  private _progressMark;
11
14
  private _trackMark;
12
15
  initMark(): void;
@@ -8,7 +8,7 @@ export declare const radarFadeAnimation: (animationType: 'in' | 'out') => {
8
8
  export declare const radarGrowAnimation: (params: IRadarAnimationParams, animationType: 'in' | 'out') => {
9
9
  type: string;
10
10
  options: () => {
11
- center: import("../../typings").IPoint;
11
+ center: import("../..").IPoint;
12
12
  };
13
13
  };
14
14
  export declare function radarPresetAnimation(params: IRadarAnimationParams, preset: RadarAppearPreset, animationType: 'in' | 'out'): {
@@ -12,6 +12,9 @@ export declare class RadarSeries<T extends IRadarSeriesSpec = IRadarSeriesSpec>
12
12
  static readonly type: string;
13
13
  type: SeriesTypeEnum;
14
14
  static readonly mark: SeriesMarkMap;
15
+ static readonly builtInTheme: {
16
+ radar: import("./interface").IRadarSeriesTheme;
17
+ };
15
18
  static readonly transformerConstructor: any;
16
19
  readonly transformerConstructor: typeof LineLikeSeriesSpecTransformer;
17
20
  private _areaMark;
@@ -1,3 +1,2 @@
1
1
  import type { SeriesMarkMap } from '../interface/common';
2
2
  export declare const rangeColumnSeriesMark: SeriesMarkMap;
3
- export declare const rangeColumn3dSeriesMark: SeriesMarkMap;
@@ -54,7 +54,4 @@ export interface IRangeColumnSeriesTheme extends ICartesianSeriesTheme {
54
54
  }>;
55
55
  };
56
56
  }
57
- export interface IRangeColumn3dSeriesSpec extends Omit<IRangeColumnSeriesSpec, 'type'> {
58
- type: 'rangeColumn3d';
59
- }
60
57
  export {};
@@ -1,18 +1,19 @@
1
1
  import { BarSeries } from '../bar/bar';
2
- import { MarkTypeEnum } from '../../mark/interface/type';
3
2
  import type { SeriesMarkMap } from '../interface';
4
- import { SeriesTypeEnum } from '../interface/type';
5
3
  import type { Datum } from '../../typings';
6
4
  import type { IRangeColumnSeriesSpec } from './interface';
7
5
  import type { ITextMark } from '../../mark/interface';
8
6
  export declare const DefaultBandWidth = 6;
9
7
  export declare class RangeColumnSeries<T extends IRangeColumnSeriesSpec = IRangeColumnSeriesSpec> extends BarSeries<any> {
10
8
  static readonly type: string;
11
- type: SeriesTypeEnum;
12
- protected _barMarkType: MarkTypeEnum;
9
+ type: string;
10
+ protected _barMarkType: string;
13
11
  protected _barName: string;
14
12
  protected _spec: T;
15
13
  static readonly mark: SeriesMarkMap;
14
+ static readonly builtInTheme: {
15
+ rangeColumn: import("./interface").IRangeColumnSeriesTheme;
16
+ };
16
17
  static readonly transformerConstructor: any;
17
18
  readonly transformerConstructor: any;
18
19
  private _minLabelMark?;
@@ -9,6 +9,9 @@ export declare class RoseSeries<T extends IRoseSeriesSpec = IRoseSeriesSpec> ext
9
9
  static readonly type: string;
10
10
  type: SeriesTypeEnum;
11
11
  static readonly mark: SeriesMarkMap;
12
+ static readonly builtInTheme: {
13
+ rose: import("./interface").IRoseSeriesTheme;
14
+ };
12
15
  static readonly transformerConstructor: any;
13
16
  readonly transformerConstructor: typeof RoseSeriesSpecTransformer;
14
17
  private _roseMark;
@@ -1,7 +1,20 @@
1
1
  import type { ISankeyAnimationParams, SankeyAppearPreset } from './interface';
2
2
  import type { IAnimationTypeConfig } from '../../animation/interface';
3
+ import { ACustomAnimate } from '@visactor/vrender-animate';
3
4
  export declare const sankeyGrowIn: (params: ISankeyAnimationParams, isOverall?: boolean) => IAnimationTypeConfig;
4
5
  export declare const sankeyGrowOut: (params: ISankeyAnimationParams, isOverall?: boolean) => IAnimationTypeConfig;
5
6
  export declare const sankeyNodePresetAnimation: (params: ISankeyAnimationParams, preset: SankeyAppearPreset) => IAnimationTypeConfig;
6
7
  export declare const sankeyLinkPresetAnimation: (preset: SankeyAppearPreset) => IAnimationTypeConfig;
8
+ export declare class LinkPathGrowIn extends ACustomAnimate<Record<string, number>> {
9
+ onBind(): void;
10
+ onUpdate(end: boolean, ratio: number, out: Record<string, any>): void;
11
+ }
12
+ export declare class LinkPathGrowOut extends ACustomAnimate<Record<string, number>> {
13
+ onBind(): void;
14
+ onUpdate(end: boolean, ratio: number, out: Record<string, any>): void;
15
+ }
16
+ export declare class LinkPathUpdate extends ACustomAnimate<Record<string, number>> {
17
+ onBind(): void;
18
+ onUpdate(end: boolean, ratio: number, out: Record<string, any>): void;
19
+ }
7
20
  export declare const registerSankeyAnimation: () => void;
@@ -15,7 +15,6 @@ export type ISankeyLabelSpec = ILabelSpec & {
15
15
  limit?: number;
16
16
  };
17
17
  export interface ISankeySeriesSpec extends Omit<ISeriesSpec, 'data'>, IAnimationSpec<SankeyMark, SankeyAppearPreset> {
18
- nameKey: any;
19
18
  type: 'sankey';
20
19
  categoryField: string;
21
20
  valueField: string;
@@ -14,6 +14,9 @@ export declare class SankeySeries<T extends ISankeySeriesSpec = ISankeySeriesSpe
14
14
  static readonly transformerConstructor: any;
15
15
  readonly transformerConstructor: typeof SankeySeriesSpecTransformer;
16
16
  static readonly mark: SeriesMarkMap;
17
+ static readonly builtInTheme: {
18
+ sankey: import("./interface").ISankeySeriesTheme;
19
+ };
17
20
  private _nodeMark;
18
21
  private _linkMark;
19
22
  private _nodeLayoutZIndex;
@@ -10,6 +10,9 @@ export declare class ScatterSeries<T extends IScatterSeriesSpec = IScatterSeries
10
10
  static readonly type: string;
11
11
  type: SeriesTypeEnum;
12
12
  static readonly mark: SeriesMarkMap;
13
+ static readonly builtInTheme: {
14
+ scatter: import("./interface").IScatterSeriesTheme;
15
+ };
13
16
  static readonly transformerConstructor: any;
14
17
  readonly transformerConstructor: typeof ScatterSeriesSpecTransformer;
15
18
  private _symbolMark;
@@ -1,6 +1,6 @@
1
1
  import type { IAnimationSpec } from '../../animation/spec';
2
2
  import type { IMarkSpec, IMarkTheme, ISeriesSpec } from '../../typings/spec';
3
- import type { SunburstLabelConfig } from '@visactor/vgrammar-hierarchy';
3
+ import type { SunburstLabelConfig } from '@visactor/vlayouts';
4
4
  import type { SunburstAppearPreset, SunburstMark } from './animation/interface';
5
5
  import type { IArcMarkSpec, ITextMarkSpec } from '../../typings';
6
6
  import type { IPolarSeriesTheme } from '../polar/interface';
@@ -9,6 +9,9 @@ export declare class SunburstSeries extends PolarSeries<any> {
9
9
  static readonly type: string;
10
10
  type: SeriesTypeEnum;
11
11
  static readonly mark: SeriesMarkMap;
12
+ static readonly builtInTheme: {
13
+ sunburst: import("./interface").ISunburstSeriesTheme;
14
+ };
12
15
  private _sunburstMark;
13
16
  private _labelMark;
14
17
  protected _categoryField: string;
@@ -1,6 +1,6 @@
1
1
  import type { IRectMarkSpec, ITextMarkSpec } from '../../typings';
2
2
  import type { IHierarchyData, IMarkSpec, IMarkTheme, ISeriesSpec } from '../../typings/spec';
3
- import type { TreemapOptions } from '@visactor/vgrammar-hierarchy';
3
+ import type { TreemapOptions } from '@visactor/vlayouts';
4
4
  import type { ICartesianSeriesTheme } from '../cartesian/interface';
5
5
  import type { IAnimationSpec } from '../../animation/spec';
6
6
  import type { SeriesMarkNameEnum } from '../interface/type';
@@ -11,6 +11,9 @@ export declare class TreemapSeries extends CartesianSeries<any> {
11
11
  static readonly type: string;
12
12
  type: SeriesTypeEnum;
13
13
  static readonly mark: SeriesMarkMap;
14
+ static readonly builtInTheme: {
15
+ treemap: import("./interface").ITreemapSeriesTheme;
16
+ };
14
17
  static readonly transformerConstructor: typeof TreemapSeriesSpecTransformer;
15
18
  readonly transformerConstructor: typeof TreemapSeriesSpecTransformer;
16
19
  private _leafMark;
@@ -1,5 +1,16 @@
1
+ import { ACustomAnimate } from '@visactor/vrender-animate';
2
+ import type { IVennCircle, IVennOverlapArc, VennCircleName } from '@visactor/vlayouts';
1
3
  import type { VennAppearPreset } from './interface';
2
4
  import type { IAnimationTypeConfig } from '../../animation/interface';
3
5
  export declare const vennCirclePresetAnimation: (preset: VennAppearPreset) => IAnimationTypeConfig;
4
6
  export declare const vennOverlapPresetAnimation: (preset: VennAppearPreset) => IAnimationTypeConfig;
7
+ export declare class VennOverlapAnimation extends ACustomAnimate<{
8
+ path: string;
9
+ arcs: IVennOverlapArc[];
10
+ }> {
11
+ protected fromCircles: Record<VennCircleName, IVennCircle>;
12
+ protected toCircles: Record<VennCircleName, IVennCircle>;
13
+ onBind(): void;
14
+ onUpdate(end: boolean, ratio: number, out: Record<string, any>): void;
15
+ }
5
16
  export declare const registerVennAnimation: () => void;
@@ -10,6 +10,9 @@ export declare class VennSeries<T extends IVennSeriesSpec = IVennSeriesSpec> ext
10
10
  static readonly type: string;
11
11
  type: SeriesTypeEnum;
12
12
  static readonly mark: SeriesMarkMap;
13
+ static readonly builtInTheme: {
14
+ venn: import("./interface").IVennSeriesTheme;
15
+ };
13
16
  static readonly transformerConstructor: typeof VennSeriesSpecTransformer;
14
17
  readonly transformerConstructor: typeof VennSeriesSpecTransformer;
15
18
  private _circleMark;
@@ -13,6 +13,9 @@ export declare class WaterfallSeries<T extends IWaterfallSeriesSpec = IWaterfall
13
13
  static readonly type: string;
14
14
  type: SeriesTypeEnum;
15
15
  static readonly mark: SeriesMarkMap;
16
+ static readonly builtInTheme: {
17
+ waterfall: import("./interface").IWaterfallSeriesTheme;
18
+ };
16
19
  static readonly transformerConstructor: any;
17
20
  readonly transformerConstructor: any;
18
21
  protected _totalData?: ICompilableData;
@@ -45,5 +48,6 @@ export declare class WaterfallSeries<T extends IWaterfallSeriesSpec = IWaterfall
45
48
  totalPositionX(datum: Datum, field: string, pos?: number): number;
46
49
  totalPositionY(datum: Datum, field: string, pos?: number): number;
47
50
  initMarkStyle(): void;
51
+ protected isVisibleLeaderLine(datum: Datum): boolean;
48
52
  }
49
53
  export declare const registerWaterfallSeries: () => void;
@@ -1,7 +1,5 @@
1
- import type { IWordcloud3dAnimationParams, IWordcloudAnimationParams, WordcloudAppearPreset } from './interface';
1
+ import type { IWordcloudAnimationParams, WordcloudAppearPreset } from './interface';
2
2
  import type { IAnimationTypeConfig } from '../../animation/interface';
3
- export declare const WordCloud3dAnimation: (params: IWordcloud3dAnimationParams | (() => any)) => IAnimationTypeConfig;
4
3
  export declare const WordCloudScaleInAnimation: (params: IWordcloudAnimationParams) => IAnimationTypeConfig;
5
4
  export declare function wordcloudPresetAnimation(params: IWordcloudAnimationParams, preset: WordcloudAppearPreset | boolean): IAnimationTypeConfig;
6
5
  export declare const registerWordCloudAnimation: () => void;
7
- export declare const registerWordCloud3dAnimation: () => void;
@@ -1,15 +1,16 @@
1
1
  import type { IPadding } from '@visactor/vutils';
2
2
  import type { SeriesMarkMap } from '../interface';
3
- import type { IWordCloudSeriesSpec, WordCloudConfigType, WordCloudShapeConfigType, WordCloudShapeType } from './interface';
3
+ import type { IWordCloudSeriesSpec, IWordCloudSeriesTheme, WordCloudConfigType, WordCloudShapeConfigType, WordCloudShapeType } from './interface';
4
4
  import type { Datum, IMarkSpec, IPoint, ITextMarkSpec } from '../../typings';
5
5
  import { BaseSeries } from '../base/base-series';
6
6
  import type { IMark, IRectMark, ITextMark } from '../../mark/interface';
7
- import type { GeometricMaskShape, TextShapeMask } from '@visactor/vgrammar-util';
7
+ import type { GeometricMaskShape, TextShapeMask } from '@visactor/vlayouts';
8
8
  export type IBaseWordCloudSeriesSpec = Omit<IWordCloudSeriesSpec, 'type'> & {
9
9
  type: string;
10
10
  };
11
11
  export declare class BaseWordCloudSeries<T extends IBaseWordCloudSeriesSpec = IBaseWordCloudSeriesSpec> extends BaseSeries<T> {
12
12
  static readonly mark: SeriesMarkMap;
13
+ static readonly builtInTheme: Record<string, IWordCloudSeriesTheme>;
13
14
  protected _nameField: string;
14
15
  protected _valueField?: string;
15
16
  setValueField(field: string): void;
@@ -1,13 +1,8 @@
1
1
  import type { ITextMarkSpec, IMarkSpec, ISeriesSpec, ITextFormatMethod, IRectMarkSpec } from '../../typings';
2
2
  import type { IAnimationSpec, IMarkAnimateSpec, IStateAnimateSpec } from '../../animation/spec';
3
3
  import type { SeriesMarkNameEnum } from '../interface/type';
4
- import type { shapes } from '@visactor/vgrammar-wordcloud';
5
- import type { GeometricMaskShape, TextShapeMask } from '@visactor/vgrammar-util';
4
+ import type { shapes, GeometricMaskShape, TextShapeMask } from '@visactor/vlayouts';
6
5
  import type { IAnimationTypeConfig } from '../../animation/interface';
7
- export interface IWordcloud3dAnimationParams {
8
- radius: number;
9
- depth_3d: number;
10
- }
11
6
  export interface IWordcloudAnimationParams {
12
7
  animationConfig: () => IAnimationTypeConfig;
13
8
  }
@@ -103,16 +98,3 @@ export interface IWordCloudSeriesTheme {
103
98
  padding?: number;
104
99
  };
105
100
  }
106
- export interface IWordCloud3dSeriesSpec extends IWordCloudSeriesBaseSpec {
107
- type: 'wordCloud3d';
108
- depth_3d?: number;
109
- postProjection?: 'StereographicProjection';
110
- }
111
- export interface IWordCloud3dSeriesTheme {
112
- [SeriesMarkNameEnum.word]?: IMarkSpec<ITextMarkSpec> & {
113
- padding?: number;
114
- };
115
- [SeriesMarkNameEnum.fillingWord]?: IMarkSpec<ITextMarkSpec> & {
116
- padding?: number;
117
- };
118
- }
@@ -1,4 +1,3 @@
1
1
  import type { ICartesianAxisCommonTheme } from '../../../../../component/axis/cartesian/interface';
2
2
  export declare const axisX: ICartesianAxisCommonTheme;
3
3
  export declare const axisY: ICartesianAxisCommonTheme;
4
- export declare const axisZ: ICartesianAxisCommonTheme;
@@ -1,3 +1,3 @@
1
- import type { IFunnel3dSeriesTheme, IFunnelSeriesTheme } from '../../../../series/funnel/interface';
1
+ import type { IFunnelSeriesTheme } from '../../../../series/funnel/interface';
2
+ export declare const getFunnelTheme: (is3d?: boolean) => IFunnelSeriesTheme;
2
3
  export declare const funnel: IFunnelSeriesTheme;
3
- export declare const funnel3d: IFunnel3dSeriesTheme;
@@ -1,3 +1,2 @@
1
- import type { IWordCloudSeriesTheme, IWordCloud3dSeriesTheme } from '../../../../series/word-cloud/interface';
1
+ import type { IWordCloudSeriesTheme } from '../../../../series/word-cloud/interface';
2
2
  export declare const wordCloud: IWordCloudSeriesTheme;
3
- export declare const wordCloud3d: IWordCloud3dSeriesTheme;
@@ -1,12 +1,14 @@
1
1
  export * from './light';
2
2
  export * from './dark';
3
3
  import type { ITheme } from '../interface';
4
+ import { getFunnelTheme } from './common/series/funnel';
4
5
  export declare const builtinThemes: Record<string, ITheme>;
5
6
  export declare const defaultThemeName: string;
6
7
  export declare const themes: Map<string, ITheme>;
7
8
  export declare const hasThemeMerged: Map<string, boolean>;
8
9
  export declare const registerTheme: (name: string, theme: Partial<ITheme>) => void;
9
- export declare const getTheme: (name?: string, transformed?: boolean) => ITheme;
10
+ export declare const getTheme: (name?: string) => ITheme;
10
11
  export declare const removeTheme: (name: string) => boolean;
11
12
  export declare const themeExist: (name: any) => boolean;
12
13
  export declare const getMergedTheme: (theme: Partial<ITheme>) => ITheme;
14
+ export { getFunnelTheme };
@@ -3,7 +3,7 @@ import type { ISeriesSpec } from '../../typings';
3
3
  export declare function getDataScheme(colorScheme?: IThemeColorScheme, seriesSpec?: ISeriesSpec): Array<ColorSchemeItem> | ProgressiveDataScheme<ColorSchemeItem>;
4
4
  export declare function computeActualDataScheme(dataScheme: Array<ColorSchemeItem> | ProgressiveDataScheme<ColorSchemeItem>, colorDomain: any[]): Array<ColorSchemeItem>;
5
5
  export declare function queryColorFromColorScheme(colorScheme: IThemeColorScheme, colorKey: IColorKey, seriesSpec?: ISeriesSpec): ColorSchemeItem | undefined;
6
- export declare const getActualColor: (value: any, colorScheme?: IThemeColorScheme, seriesSpec?: ISeriesSpec) => any;
6
+ export declare const getActualColor: (value: any, colorScheme?: IThemeColorScheme) => any;
7
7
  export declare function isColorKey(obj: any): obj is IColorKey;
8
8
  export declare function isProgressiveDataColorScheme<T>(obj: any): obj is ProgressiveDataScheme<T>;
9
9
  export declare function transformColorSchemeToStandardStruct(colorScheme: ColorScheme): IColorSchemeStruct;
@@ -1,20 +1,20 @@
1
1
  import type { IAreaChartSpec } from '../../chart/area/interface';
2
- import type { IBarChartSpec, IBar3dChartSpec } from '../../chart/bar/interface';
2
+ import type { IBarChartSpec } from '../../chart/bar/interface';
3
3
  import type { IBoxPlotChartSpec } from '../../chart/box-plot/interface';
4
4
  import type { ICirclePackingChartSpec } from '../../chart/circle-packing/interface';
5
5
  import type { ICommonChartSpec } from '../../chart/common/interface';
6
- import type { IFunnelChartSpec, IFunnel3dChartSpec } from '../../chart/funnel/interface';
6
+ import type { IFunnelChartSpec } from '../../chart/funnel/interface';
7
7
  import type { IGaugeChartSpec } from '../../chart/gauge/interface';
8
8
  import type { IHeatmapChartSpec } from '../../chart/heatmap/interface';
9
- import type { IHistogramChartSpec, IHistogram3dChartSpec } from '../../chart/histogram/interface';
9
+ import type { IHistogramChartSpec } from '../../chart/histogram/interface';
10
10
  import type { ILineChartSpec } from '../../chart/line/interface';
11
11
  import type { IMapChartSpec } from '../../chart/map/interface';
12
- import type { IPieChartSpec, IPie3dChartSpec } from '../../chart/pie/interface';
12
+ import type { IPieChartSpec } from '../../chart/pie/interface';
13
13
  import type { ICircularProgressChartSpec } from '../../chart/progress/circular/interface';
14
14
  import type { ILinearProgressChartSpec } from '../../chart/progress/linear/interface';
15
15
  import type { IRadarChartSpec } from '../../chart/radar/interface';
16
16
  import type { IRangeAreaChartSpec } from '../../chart/range-area/interface';
17
- import type { IRangeColumnChartSpec, IRangeColumn3dChartSpec } from '../../chart/range-column/interface';
17
+ import type { IRangeColumnChartSpec } from '../../chart/range-column/interface';
18
18
  import type { IRoseChartSpec } from '../../chart/rose/interface';
19
19
  import type { ISankeyChartSpec } from '../../chart/sankey/interface';
20
20
  import type { IScatterChartSpec } from '../../chart/scatter/interface';
@@ -23,7 +23,7 @@ import type { ISunburstChartSpec } from '../../chart/sunburst/interface';
23
23
  import type { ITreemapChartSpec } from '../../chart/treemap/interface';
24
24
  import type { IWaterfallChartSpec } from '../../chart/waterfall/interface';
25
25
  import type { ICorrelationChartSpec } from '../../chart/correlation/interface';
26
- import type { IWordCloudChartSpec, IWordCloud3dChartSpec } from '../../chart/word-cloud/interface';
26
+ import type { IWordCloudChartSpec } from '../../chart/word-cloud/interface';
27
27
  import type { IChartSpec } from './common';
28
28
  import type { ILiquidChartSpec } from '../../chart/liquid/interface';
29
29
  export interface ChartSpecMap {
@@ -31,15 +31,11 @@ export interface ChartSpecMap {
31
31
  readonly area: IAreaChartSpec;
32
32
  readonly line: ILineChartSpec;
33
33
  readonly bar: IBarChartSpec;
34
- readonly bar3d: IBar3dChartSpec;
35
34
  readonly histogram: IHistogramChartSpec;
36
- readonly histogram3d: IHistogram3dChartSpec;
37
35
  readonly rangeColumn: IRangeColumnChartSpec;
38
- readonly rangeColumn3d: IRangeColumn3dChartSpec;
39
36
  readonly rangeArea: IRangeAreaChartSpec;
40
37
  readonly map: IMapChartSpec;
41
38
  readonly pie: IPieChartSpec;
42
- readonly pie3d: IPie3dChartSpec;
43
39
  readonly radar: IRadarChartSpec;
44
40
  readonly rose: IRoseChartSpec;
45
41
  readonly scatter: IScatterChartSpec;
@@ -47,9 +43,7 @@ export interface ChartSpecMap {
47
43
  readonly circleProgress: ICircularProgressChartSpec;
48
44
  readonly linearProgress: ILinearProgressChartSpec;
49
45
  readonly wordCloud: IWordCloudChartSpec;
50
- readonly wordCloud3d: IWordCloud3dChartSpec;
51
46
  readonly funnel: IFunnelChartSpec;
52
- readonly funnel3d: IFunnel3dChartSpec;
53
47
  readonly waterfall: IWaterfallChartSpec;
54
48
  readonly boxplot: IBoxPlotChartSpec;
55
49
  readonly gauge: IGaugeChartSpec;