constant.js 891 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import { Plot } from '../../core/plot';
  2. import { deepAssign } from '../../utils';
  3. /**
  4. * 色块图默认配置项
  5. */
  6. export var DEFAULT_OPTIONS = deepAssign({}, Plot.getDefaultOptions(), {
  7. type: 'polygon',
  8. legend: false,
  9. coordinate: {
  10. type: 'rect',
  11. },
  12. xAxis: {
  13. tickLine: null,
  14. line: null,
  15. grid: {
  16. alignTick: false,
  17. line: {
  18. style: {
  19. lineWidth: 1,
  20. lineDash: null,
  21. stroke: '#f0f0f0',
  22. },
  23. },
  24. },
  25. },
  26. yAxis: {
  27. grid: {
  28. alignTick: false,
  29. line: {
  30. style: {
  31. lineWidth: 1,
  32. lineDash: null,
  33. stroke: '#f0f0f0',
  34. },
  35. },
  36. },
  37. },
  38. });
  39. //# sourceMappingURL=constant.js.map