constant.js 610 B

12345678910111213141516171819202122232425262728
  1. import { Plot } from '../../core/plot';
  2. import { deepAssign } from '../../utils';
  3. /**
  4. * 玫瑰图 默认配置项
  5. */
  6. export var DEFAULT_OPTIONS = deepAssign({}, Plot.getDefaultOptions(), {
  7. xAxis: false,
  8. yAxis: false,
  9. legend: {
  10. position: 'right',
  11. radio: {},
  12. },
  13. sectorStyle: {
  14. stroke: '#fff',
  15. lineWidth: 1,
  16. },
  17. label: {
  18. layout: {
  19. type: 'limit-in-shape',
  20. },
  21. },
  22. tooltip: {
  23. shared: true,
  24. showMarkers: false,
  25. },
  26. interactions: [{ type: 'active-region' }],
  27. });
  28. //# sourceMappingURL=constant.js.map