@antv/g2plot
Version:
An interactive and responsive charting library
26 lines (25 loc) • 422 B
text/typescript
/**
* 需要从轴配置中提取出来作为 meta 的属性 key 列表
*/
export const AXIS_META_CONFIG_KEYS = [
'type',
'alias',
'tickCount',
'tickInterval',
'min',
'max',
'nice',
'minLimit',
'maxLimit',
// 坐标轴的范围
'range',
'tickMethod',
// type: 'log' 的底
'base',
// type: 'exp' 的指数
'exponent',
// time 类型的格式化
'mask',
// 是否同步
'sync',
];