File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 */
207205export 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+
209237export const CHART_ID_LIST = [
210238 { chartId : ChartType . Area , code : 'a' } ,
211239 { chartId : ChartType . Bar , code : 'b' } ,
You can’t perform that action at this time.
0 commit comments