@antv/g2plot
Version:
G2 Plot, a market of plots built with the Grammar of Graphics'
14 lines • 435 B
JavaScript
import { registerResponsiveTheme } from '../../../util/responsive/theme';
/** 组装theme */
var lineTheme = {
label: {
point: {
constraints: [{ name: 'elementCollision' }],
rules: {
elementCollision: [{ name: 'nodesResamplingByChange' }, { name: 'clearOverlapping' }],
},
},
},
};
registerResponsiveTheme('line', lineTheme);
//# sourceMappingURL=theme.js.map