UNPKG

8.21 kBJavaScriptView Raw
1
2/*
3* Licensed to the Apache Software Foundation (ASF) under one
4* or more contributor license agreements. See the NOTICE file
5* distributed with this work for additional information
6* regarding copyright ownership. The ASF licenses this file
7* to you under the Apache License, Version 2.0 (the
8* "License"); you may not use this file except in compliance
9* with the License. You may obtain a copy of the License at
10*
11* http://www.apache.org/licenses/LICENSE-2.0
12*
13* Unless required by applicable law or agreed to in writing,
14* software distributed under the License is distributed on an
15* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16* KIND, either express or implied. See the License for the
17* specific language governing permissions and limitations
18* under the License.
19*/
20
21
22/**
23 * AUTO-GENERATED FILE. DO NOT MODIFY.
24 */
25
26/*
27* Licensed to the Apache Software Foundation (ASF) under one
28* or more contributor license agreements. See the NOTICE file
29* distributed with this work for additional information
30* regarding copyright ownership. The ASF licenses this file
31* to you under the Apache License, Version 2.0 (the
32* "License"); you may not use this file except in compliance
33* with the License. You may obtain a copy of the License at
34*
35* http://www.apache.org/licenses/LICENSE-2.0
36*
37* Unless required by applicable law or agreed to in writing,
38* software distributed under the License is distributed on an
39* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
40* KIND, either express or implied. See the License for the
41* specific language governing permissions and limitations
42* under the License.
43*/
44import { use } from './lib/extension.js';
45export * from './lib/export/core.js';
46// ----------------------------------------------
47// All of the modules that are allowed to be
48// imported are listed below.
49//
50// Users MUST NOT import other modules that are
51// not included in this list.
52// ----------------------------------------------
53import { SVGRenderer, CanvasRenderer } from './lib/export/renderers.js';
54import { LineChart, BarChart, PieChart, ScatterChart, RadarChart, MapChart, TreeChart, TreemapChart, GraphChart, GaugeChart, FunnelChart, ParallelChart, SankeyChart, BoxplotChart, CandlestickChart, EffectScatterChart, LinesChart, HeatmapChart, PictorialBarChart, ThemeRiverChart, SunburstChart, CustomChart } from './lib/export/charts.js';
55import { GridComponent, PolarComponent, GeoComponent, SingleAxisComponent, ParallelComponent, CalendarComponent, GraphicComponent, ToolboxComponent, TooltipComponent, AxisPointerComponent, BrushComponent, TitleComponent, TimelineComponent, MarkPointComponent, MarkLineComponent, MarkAreaComponent, LegendComponent, DataZoomComponent, DataZoomInsideComponent, DataZoomSliderComponent, VisualMapComponent, VisualMapContinuousComponent, VisualMapPiecewiseComponent, AriaComponent, DatasetComponent, TransformComponent } from './lib/export/components.js';
56import { UniversalTransition, LabelLayout } from './lib/export/features.js';
57// -----------------
58// Render engines
59// -----------------
60// Render via Canvas.
61// echarts.init(dom, null, { renderer: 'canvas' })
62use([CanvasRenderer]);
63// Render via SVG.
64// echarts.init(dom, null, { renderer: 'svg' })
65use([SVGRenderer]);
66// ----------------
67// Charts (series)
68// ----------------
69// All of the series types, for example:
70// chart.setOption({
71// series: [{
72// type: 'line' // or 'bar', 'pie', ...
73// }]
74// });
75use([LineChart, BarChart, PieChart, ScatterChart, RadarChart, MapChart, TreeChart, TreemapChart, GraphChart, GaugeChart, FunnelChart, ParallelChart, SankeyChart, BoxplotChart, CandlestickChart, EffectScatterChart, LinesChart, HeatmapChart, PictorialBarChart, ThemeRiverChart, SunburstChart, CustomChart]);
76// -------------------
77// Coordinate systems
78// -------------------
79// All of the axis modules have been included in the
80// coordinate system module below, do not need to
81// make extra import.
82// `cartesian` coordinate system. For some historical
83// reasons, it is named as grid, for example:
84// chart.setOption({
85// grid: {...},
86// xAxis: {...},
87// yAxis: {...},
88// series: [{...}]
89// });
90use(GridComponent);
91// `polar` coordinate system, for example:
92// chart.setOption({
93// polar: {...},
94// radiusAxis: {...},
95// angleAxis: {...},
96// series: [{
97// coordinateSystem: 'polar'
98// }]
99// });
100use(PolarComponent);
101// `geo` coordinate system, for example:
102// chart.setOption({
103// geo: {...},
104// series: [{
105// coordinateSystem: 'geo'
106// }]
107// });
108use(GeoComponent);
109// `singleAxis` coordinate system (notice, it is a coordinate system
110// with only one axis, work for chart like theme river), for example:
111// chart.setOption({
112// singleAxis: {...}
113// series: [{type: 'themeRiver', ...}]
114// });
115use(SingleAxisComponent);
116// `parallel` coordinate system, only work for parallel series, for example:
117// chart.setOption({
118// parallel: {...},
119// parallelAxis: [{...}, ...],
120// series: [{
121// type: 'parallel'
122// }]
123// });
124use(ParallelComponent);
125// `calendar` coordinate system. for example,
126// chart.setOption({
127// calendar: {...},
128// series: [{
129// coordinateSystem: 'calendar'
130// }]
131// );
132use(CalendarComponent);
133// ------------------
134// Other components
135// ------------------
136// `graphic` component, for example:
137// chart.setOption({
138// graphic: {...}
139// });
140use(GraphicComponent);
141// `toolbox` component, for example:
142// chart.setOption({
143// toolbox: {...}
144// });
145use(ToolboxComponent);
146// `tooltip` component, for example:
147// chart.setOption({
148// tooltip: {...}
149// });
150use(TooltipComponent);
151// `axisPointer` component, for example:
152// chart.setOption({
153// tooltip: {axisPointer: {...}, ...}
154// });
155// Or
156// chart.setOption({
157// axisPointer: {...}
158// });
159use(AxisPointerComponent);
160// `brush` component, for example:
161// chart.setOption({
162// brush: {...}
163// });
164// Or
165// chart.setOption({
166// tooltip: {feature: {brush: {...}}
167// })
168use(BrushComponent);
169// `title` component, for example:
170// chart.setOption({
171// title: {...}
172// });
173use(TitleComponent);
174// `timeline` component, for example:
175// chart.setOption({
176// timeline: {...}
177// });
178use(TimelineComponent);
179// `markPoint` component, for example:
180// chart.setOption({
181// series: [{markPoint: {...}}]
182// });
183use(MarkPointComponent);
184// `markLine` component, for example:
185// chart.setOption({
186// series: [{markLine: {...}}]
187// });
188use(MarkLineComponent);
189// `markArea` component, for example:
190// chart.setOption({
191// series: [{markArea: {...}}]
192// });
193use(MarkAreaComponent);
194// `legend` component not scrollable. for example:
195// chart.setOption({
196// legend: {...}
197// });
198use(LegendComponent);
199// `dataZoom` component including both `dataZoomInside` and `dataZoomSlider`.
200use(DataZoomComponent);
201// `dataZoom` component providing drag, pinch, wheel behaviors
202// inside coordinate system, for example:
203// chart.setOption({
204// dataZoom: {type: 'inside'}
205// });
206use(DataZoomInsideComponent);
207// `dataZoom` component providing a slider bar, for example:
208// chart.setOption({
209// dataZoom: {type: 'slider'}
210// });
211use(DataZoomSliderComponent);
212// `visualMap` component including both `visualMapContinuous` and `visualMapPiecewise`.
213use(VisualMapComponent);
214// `visualMap` component providing continuous bar, for example:
215// chart.setOption({
216// visualMap: {type: 'continuous'}
217// });
218use(VisualMapContinuousComponent);
219// `visualMap` component providing pieces bar, for example:
220// chart.setOption({
221// visualMap: {type: 'piecewise'}
222// });
223use(VisualMapPiecewiseComponent);
224// `aria` component providing aria, for example:
225// chart.setOption({
226// aria: {...}
227// });
228use(AriaComponent);
229// dataset transform
230// chart.setOption({
231// dataset: {
232// transform: []
233// }
234// });
235use(TransformComponent);
236use(DatasetComponent);
237// universal transition
238// chart.setOption({
239// series: {
240// universalTransition: { enabled: true }
241// }
242// })
243use(UniversalTransition);
244// label layout
245// chart.setOption({
246// series: {
247// labelLayout: { hideOverlap: true }
248// }
249// })
250use(LabelLayout);
\No newline at end of file