constant.js 630 B

1234567891011121314151617181920212223242526272829303132
  1. import { Plot } from '../../core/plot';
  2. import { deepAssign } from '../../utils';
  3. /**
  4. * 默认配置项
  5. */
  6. export var DEFAULT_OPTIONS = deepAssign({}, Plot.getDefaultOptions(), {
  7. layout: 'horizontal',
  8. size: {
  9. range: 30,
  10. measure: 20,
  11. target: 20,
  12. },
  13. xAxis: {
  14. tickLine: false,
  15. line: null,
  16. },
  17. bulletStyle: {
  18. range: {
  19. fillOpacity: 0.5,
  20. },
  21. },
  22. label: {
  23. measure: {
  24. position: 'right',
  25. },
  26. },
  27. tooltip: {
  28. // 默认关闭
  29. showMarkers: false,
  30. },
  31. });
  32. //# sourceMappingURL=constant.js.map