@antv/g2plot
Version:
An interactive and responsive charting library
24 lines (22 loc) • 429 B
text/typescript
import { Plot } from '../../core/plot';
import { deepAssign } from '../../utils';
/**
* 面积图默认配置项
*/
export const DEFAULT_OPTIONS = deepAssign({}, Plot.getDefaultOptions(), {
tooltip: {
shared: true,
showMarkers: true,
showCrosshairs: true,
crosshairs: {
type: 'x',
},
},
isStack: true,
// 默认开启
line: {},
legend: {
position: 'top-left',
radio: {},
},
});