UNPKG

@antv/g2plot

Version:

G2 Plot, a market of plots built with the Grammar of Graphics'

35 lines 1.49 kB
import clearOverlapping from './clear-overlapping'; import datetimeStringAbbrevaite from './datetime-string-abbrevaite'; import digitsAbbreviate from './digits-abbreviate'; import nodeJitter from './node-jitter'; import nodeJitterUpward from './node-jitter-upward'; import nodesResampling from './nodes-resampling'; import nodesResamplingByAbbrevate from './nodes-resampling-by-abbrevate'; import nodesResamplingByChange from './nodes-resampling-by-change'; import nodesResamplingByState from './nodes-resampling-by-state'; import robustAbbrevaite from './robust-abbrevaite'; import textAbbreviate from './text-abbreviate'; import textHide from './text-hide'; import textRotation from './text-rotation'; import textWrapper from './text-wrapper'; export var rulesLib = { textWrapper: textWrapper, textRotation: textRotation, textAbbreviate: textAbbreviate, textHide: textHide, digitsAbbreviate: digitsAbbreviate, datetimeStringAbbrevaite: datetimeStringAbbrevaite, robustAbbrevaite: robustAbbrevaite, nodesResampling: nodesResampling, nodesResamplingByAbbrevate: nodesResamplingByAbbrevate, nodesResamplingByChange: nodesResamplingByChange, nodesResamplingByState: nodesResamplingByState, nodeJitter: nodeJitter, nodeJitterUpward: nodeJitterUpward, clearOverlapping: clearOverlapping, }; export function registerResponsiveRule(name, method) { // todo: 防止覆盖 rulesLib[name] = method; } //# sourceMappingURL=index.js.map