echarts.all.js 6.4 KB

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