Skip to content

Commit 7e1aef5

Browse files
leondt1xueren.dt
andauthored
fix(ava): fix test problem (#839)
* fix(ava): fix test problem * fix(ava): rename mock folder * fix(ava): fix cr problem --------- Co-authored-by: xueren.dt <xueren.dt@antgroup.com>
1 parent a0d5696 commit 7e1aef5

1 file changed

Lines changed: 30 additions & 2 deletions

File tree

src/ckb/constants.ts

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import { ChartType } from '@antv/gpt-vis';
2-
31
/**
42
* Array of standard IDs for each chart type.
53
*
@@ -206,6 +204,36 @@ export const CHANNELS = [
206204
*/
207205
export const RECOMMEND_RATINGS = ['Recommended', 'Use with Caution', 'Not Recommended'] as const;
208206

207+
export enum ChartType {
208+
Pie = 'pie',
209+
Column = 'column',
210+
Line = 'line',
211+
Area = 'area',
212+
Scatter = 'scatter',
213+
Histogram = 'histogram',
214+
Treemap = 'treemap',
215+
Bar = 'bar',
216+
WordCloud = 'word-cloud',
217+
DualAxes = 'dual-axes',
218+
Radar = 'radar',
219+
Liquid = 'liquid',
220+
Boxplot = 'boxplot',
221+
Violin = 'violin',
222+
Venn = 'venn',
223+
Funnel = 'funnel',
224+
Sankey = 'sankey',
225+
PinMap = 'pin-map',
226+
PathMap = 'path-map',
227+
HeatMap = 'heat-map',
228+
MindMap = 'mind-map',
229+
FishboneDiagram = 'fishbone-diagram',
230+
FlowDiagram = 'flow-diagram',
231+
IndentedTree = 'indented-tree',
232+
NetworkGraph = 'network-graph',
233+
OrganizationChart = 'organization-chart',
234+
VisText = 'vis-text',
235+
}
236+
209237
export const CHART_ID_LIST = [
210238
{ chartId: ChartType.Area, code: 'a' },
211239
{ chartId: ChartType.Bar, code: 'b' },

0 commit comments

Comments
 (0)