You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

274 lines
6.4 KiB

  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. export * from './src/echarts';
  21. export * from './src/export';
  22. import './src/component/dataset';
  23. // ----------------------------------------------
  24. // All of the modules that are allowed to be
  25. // imported are listed below.
  26. //
  27. // Users MUST NOT import other modules that are
  28. // not included in this list.
  29. // ----------------------------------------------
  30. // ----------------
  31. // Charts (series)
  32. // ----------------
  33. // All of the series types, for example:
  34. // chart.setOption({
  35. // series: [{
  36. // type: 'line' // or 'bar', 'pie', ...
  37. // }]
  38. // });
  39. import './src/chart/line';
  40. import './src/chart/bar';
  41. import './src/chart/pie';
  42. import './src/chart/scatter';
  43. import './src/chart/radar';
  44. import './src/chart/map';
  45. import './src/chart/tree';
  46. import './src/chart/treemap';
  47. import './src/chart/graph';
  48. import './src/chart/gauge';
  49. import './src/chart/funnel';
  50. import './src/chart/parallel';
  51. import './src/chart/sankey';
  52. import './src/chart/boxplot';
  53. import './src/chart/candlestick';
  54. import './src/chart/effectScatter';
  55. import './src/chart/lines';
  56. import './src/chart/heatmap';
  57. import './src/chart/pictorialBar';
  58. import './src/chart/themeRiver';
  59. import './src/chart/sunburst';
  60. import './src/chart/custom';
  61. // -------------------
  62. // Coordinate systems
  63. // -------------------
  64. // All of the axis modules have been included in the
  65. // coordinate system module below, do not need to
  66. // make extra import.
  67. // `cartesian` coordinate system. For some historical
  68. // reasons, it is named as grid, for example:
  69. // chart.setOption({
  70. // grid: {...},
  71. // xAxis: {...},
  72. // yAxis: {...},
  73. // series: [{...}]
  74. // });
  75. import './src/component/grid';
  76. // `polar` coordinate system, for example:
  77. // chart.setOption({
  78. // polar: {...},
  79. // radiusAxis: {...},
  80. // angleAxis: {...},
  81. // series: [{
  82. // coordinateSystem: 'polar'
  83. // }]
  84. // });
  85. import './src/component/polar';
  86. // `geo` coordinate system, for example:
  87. // chart.setOption({
  88. // geo: {...},
  89. // series: [{
  90. // coordinateSystem: 'geo'
  91. // }]
  92. // });
  93. import './src/component/geo';
  94. // `singleAxis` coordinate system (notice, it is a coordinate system
  95. // with only one axis, work for chart like theme river), for example:
  96. // chart.setOption({
  97. // singleAxis: {...}
  98. // series: [{type: 'themeRiver', ...}]
  99. // });
  100. import './src/component/singleAxis';
  101. // `parallel` coordinate system, only work for parallel series, for example:
  102. // chart.setOption({
  103. // parallel: {...},
  104. // parallelAxis: [{...}, ...],
  105. // series: [{
  106. // type: 'parallel'
  107. // }]
  108. // });
  109. import './src/component/parallel';
  110. // `calendar` coordinate system. for example,
  111. // chart.setOptionp({
  112. // calendar: {...},
  113. // series: [{
  114. // coordinateSystem: 'calendar'
  115. // }]
  116. // );
  117. import './src/component/calendar';
  118. // ------------------
  119. // Other components
  120. // ------------------
  121. // `graphic` component, for example:
  122. // chart.setOption({
  123. // graphic: {...}
  124. // });
  125. import './src/component/graphic';
  126. // `toolbox` component, for example:
  127. // chart.setOption({
  128. // toolbox: {...}
  129. // });
  130. import './src/component/toolbox';
  131. // `tooltip` component, for example:
  132. // chart.setOption({
  133. // tooltip: {...}
  134. // });
  135. import './src/component/tooltip';
  136. // `axisPointer` component, for example:
  137. // chart.setOption({
  138. // tooltip: {axisPointer: {...}, ...}
  139. // });
  140. // Or
  141. // chart.setOption({
  142. // axisPointer: {...}
  143. // });
  144. import './src/component/axisPointer';
  145. // `brush` component, for example:
  146. // chart.setOption({
  147. // brush: {...}
  148. // });
  149. // Or
  150. // chart.setOption({
  151. // tooltip: {feature: {brush: {...}}
  152. // })
  153. import './src/component/brush';
  154. // `title` component, for example:
  155. // chart.setOption({
  156. // title: {...}
  157. // });
  158. import './src/component/title';
  159. // `timeline` component, for example:
  160. // chart.setOption({
  161. // timeline: {...}
  162. // });
  163. import './src/component/timeline';
  164. // `markPoint` component, for example:
  165. // chart.setOption({
  166. // series: [{markPoint: {...}}]
  167. // });
  168. import './src/component/markPoint';
  169. // `markLine` component, for example:
  170. // chart.setOption({
  171. // series: [{markLine: {...}}]
  172. // });
  173. import './src/component/markLine';
  174. // `markArea` component, for example:
  175. // chart.setOption({
  176. // series: [{markArea: {...}}]
  177. // });
  178. import './src/component/markArea';
  179. // `legend` component scrollable, for example:
  180. // chart.setOption({
  181. // legend: {type: 'scroll'}
  182. // });
  183. import './src/component/legendScroll';
  184. // `legend` component not scrollable. for example:
  185. // chart.setOption({
  186. // legend: {...}
  187. // });
  188. import './src/component/legend';
  189. // `dataZoom` component including both `dataZoomInside` and `dataZoomSlider`.
  190. import './src/component/dataZoom';
  191. // `dataZoom` component providing drag, pinch, wheel behaviors
  192. // inside coodinate system, for example:
  193. // chart.setOption({
  194. // dataZoom: {type: 'inside'}
  195. // });
  196. import './src/component/dataZoomInside';
  197. // `dataZoom` component providing a slider bar, for example:
  198. // chart.setOption({
  199. // dataZoom: {type: 'slider'}
  200. // });
  201. import './src/component/dataZoomSlider';
  202. // `dataZoom` component including both `visualMapContinuous` and `visualMapPiecewise`.
  203. import './src/component/visualMap';
  204. // `visualMap` component providing continuous bar, for example:
  205. // chart.setOption({
  206. // visualMap: {type: 'continuous'}
  207. // });
  208. import './src/component/visualMapContinuous';
  209. // `visualMap` component providing pieces bar, for example:
  210. // chart.setOption({
  211. // visualMap: {type: 'piecewise'}
  212. // });
  213. import './src/component/visualMapPiecewise';
  214. // -----------------
  215. // Render engines
  216. // -----------------
  217. // Provide IE 6,7,8 compatibility.
  218. import 'zrender/src/vml/vml';
  219. // Render via SVG rather than canvas.
  220. import 'zrender/src/svg/svg';