123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- /*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
- export * from './src/echarts';
- export * from './src/export';
- import './src/component/dataset';
- // ----------------------------------------------
- // All of the modules that are allowed to be
- // imported are listed below.
- //
- // Users MUST NOT import other modules that are
- // not included in this list.
- // ----------------------------------------------
- // ----------------
- // Charts (series)
- // ----------------
- // All of the series types, for example:
- // chart.setOption({
- // series: [{
- // type: 'line' // or 'bar', 'pie', ...
- // }]
- // });
- import './src/chart/line';
- import './src/chart/bar';
- import './src/chart/pie';
- import './src/chart/scatter';
- import './src/chart/radar';
- import './src/chart/map';
- import './src/chart/tree';
- import './src/chart/treemap';
- import './src/chart/graph';
- import './src/chart/gauge';
- import './src/chart/funnel';
- import './src/chart/parallel';
- import './src/chart/sankey';
- import './src/chart/boxplot';
- import './src/chart/candlestick';
- import './src/chart/effectScatter';
- import './src/chart/lines';
- import './src/chart/heatmap';
- import './src/chart/pictorialBar';
- import './src/chart/themeRiver';
- import './src/chart/sunburst';
- import './src/chart/custom';
- // -------------------
- // Coordinate systems
- // -------------------
- // All of the axis modules have been included in the
- // coordinate system module below, do not need to
- // make extra import.
- // `cartesian` coordinate system. For some historical
- // reasons, it is named as grid, for example:
- // chart.setOption({
- // grid: {...},
- // xAxis: {...},
- // yAxis: {...},
- // series: [{...}]
- // });
- import './src/component/grid';
- // `polar` coordinate system, for example:
- // chart.setOption({
- // polar: {...},
- // radiusAxis: {...},
- // angleAxis: {...},
- // series: [{
- // coordinateSystem: 'polar'
- // }]
- // });
- import './src/component/polar';
- // `geo` coordinate system, for example:
- // chart.setOption({
- // geo: {...},
- // series: [{
- // coordinateSystem: 'geo'
- // }]
- // });
- import './src/component/geo';
- // `singleAxis` coordinate system (notice, it is a coordinate system
- // with only one axis, work for chart like theme river), for example:
- // chart.setOption({
- // singleAxis: {...}
- // series: [{type: 'themeRiver', ...}]
- // });
- import './src/component/singleAxis';
- // `parallel` coordinate system, only work for parallel series, for example:
- // chart.setOption({
- // parallel: {...},
- // parallelAxis: [{...}, ...],
- // series: [{
- // type: 'parallel'
- // }]
- // });
- import './src/component/parallel';
- // `calendar` coordinate system. for example,
- // chart.setOptionp({
- // calendar: {...},
- // series: [{
- // coordinateSystem: 'calendar'
- // }]
- // );
- import './src/component/calendar';
- // ------------------
- // Other components
- // ------------------
- // `graphic` component, for example:
- // chart.setOption({
- // graphic: {...}
- // });
- import './src/component/graphic';
- // `toolbox` component, for example:
- // chart.setOption({
- // toolbox: {...}
- // });
- import './src/component/toolbox';
- // `tooltip` component, for example:
- // chart.setOption({
- // tooltip: {...}
- // });
- import './src/component/tooltip';
- // `axisPointer` component, for example:
- // chart.setOption({
- // tooltip: {axisPointer: {...}, ...}
- // });
- // Or
- // chart.setOption({
- // axisPointer: {...}
- // });
- import './src/component/axisPointer';
- // `brush` component, for example:
- // chart.setOption({
- // brush: {...}
- // });
- // Or
- // chart.setOption({
- // tooltip: {feature: {brush: {...}}
- // })
- import './src/component/brush';
- // `title` component, for example:
- // chart.setOption({
- // title: {...}
- // });
- import './src/component/title';
- // `timeline` component, for example:
- // chart.setOption({
- // timeline: {...}
- // });
- import './src/component/timeline';
- // `markPoint` component, for example:
- // chart.setOption({
- // series: [{markPoint: {...}}]
- // });
- import './src/component/markPoint';
- // `markLine` component, for example:
- // chart.setOption({
- // series: [{markLine: {...}}]
- // });
- import './src/component/markLine';
- // `markArea` component, for example:
- // chart.setOption({
- // series: [{markArea: {...}}]
- // });
- import './src/component/markArea';
- // `legend` component scrollable, for example:
- // chart.setOption({
- // legend: {type: 'scroll'}
- // });
- import './src/component/legendScroll';
- // `legend` component not scrollable. for example:
- // chart.setOption({
- // legend: {...}
- // });
- import './src/component/legend';
- // `dataZoom` component including both `dataZoomInside` and `dataZoomSlider`.
- import './src/component/dataZoom';
- // `dataZoom` component providing drag, pinch, wheel behaviors
- // inside coodinate system, for example:
- // chart.setOption({
- // dataZoom: {type: 'inside'}
- // });
- import './src/component/dataZoomInside';
- // `dataZoom` component providing a slider bar, for example:
- // chart.setOption({
- // dataZoom: {type: 'slider'}
- // });
- import './src/component/dataZoomSlider';
- // `dataZoom` component including both `visualMapContinuous` and `visualMapPiecewise`.
- import './src/component/visualMap';
- // `visualMap` component providing continuous bar, for example:
- // chart.setOption({
- // visualMap: {type: 'continuous'}
- // });
- import './src/component/visualMapContinuous';
- // `visualMap` component providing pieces bar, for example:
- // chart.setOption({
- // visualMap: {type: 'piecewise'}
- // });
- import './src/component/visualMapPiecewise';
- // -----------------
- // Render engines
- // -----------------
- // Provide IE 6,7,8 compatibility.
- import 'zrender/src/vml/vml';
- // Render via SVG rather than canvas.
- import 'zrender/src/svg/svg';
|