constants.js 478 B

123456789101112131415161718192021
  1. import { Plot } from '../../core/plot';
  2. import { deepAssign } from '../../utils';
  3. /**
  4. * 折线图默认配置项
  5. */
  6. export var DEFAULT_OPTIONS = deepAssign({}, Plot.getDefaultOptions(), {
  7. tooltip: {
  8. shared: true,
  9. showMarkers: true,
  10. showCrosshairs: true,
  11. crosshairs: {
  12. type: 'x',
  13. },
  14. },
  15. legend: {
  16. position: 'top-left',
  17. radio: {},
  18. },
  19. isStack: false,
  20. });
  21. //# sourceMappingURL=constants.js.map