app模板、应用模板、组件模板、widget模板
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.

34 lines
1.4 KiB

4 years ago
  1. 'use strict';
  2. exports.__esModule = true;
  3. var DEFAULT_THEME = exports.DEFAULT_THEME = {
  4. categoryAxis: {
  5. axisLine: { show: false },
  6. axisTick: { show: false },
  7. splitLine: { show: false }
  8. },
  9. valueAxis: {
  10. axisLine: { show: false }
  11. },
  12. line: {
  13. smooth: true
  14. },
  15. grid: {
  16. containLabel: true,
  17. left: 10,
  18. right: 10
  19. }
  20. };
  21. var DEFAULT_COLORS = exports.DEFAULT_COLORS = ['#19d4ae', '#5ab1ef', '#fa6e86', '#ffb980', '#0067a6', '#c4b4e4', '#d87a80', '#9cbbff', '#d9d0c7', '#87a997', '#d49ea2', '#5b4947', '#7ba3a8'];
  22. var HEAT_MAP_COLOR = exports.HEAT_MAP_COLOR = ['#313695', '#4575b4', '#74add1', '#abd9e9', '#e0f3f8', '#ffffbf', '#fee090', '#fdae61', '#f46d43', '#d73027', '#a50026'];
  23. var HEAT_BMAP_COLOR = exports.HEAT_BMAP_COLOR = ['blue', 'blue', 'green', 'yellow', 'red'];
  24. var itemPoint = exports.itemPoint = function itemPoint(color) {
  25. return ['<span style="', 'background-color:' + color + ';', 'display: inline-block;', 'width: 10px;', 'height: 10px;', 'border-radius: 50%;', 'margin-right:2px;', '"></span>'].join('');
  26. };
  27. var STATIC_PROPS = exports.STATIC_PROPS = ['initOptions', 'loading', 'dataEmpty', 'judgeWidth', 'widthChangeDelay'];
  28. var ECHARTS_SETTINGS = exports.ECHARTS_SETTINGS = ['grid', 'dataZoom', 'visualMap', 'toolbox', 'title', 'legend', 'xAxis', 'yAxis', 'radar', 'tooltip', 'axisPointer', 'brush', 'geo', 'timeline', 'graphic', 'series', 'backgroundColor', 'textStyle'];