@zhouchangju/standard-chart
Version:
标准范式组件
15 lines (14 loc) • 559 B
TypeScript
/**
* 柱状图 model 解析
*
* ! 这里所做的事情应该仅仅是配置项的解析计算
* - 场景:将一系列复杂的配置项抽象为一个扩展配置项提供给业务方,在这里将该扩展配置项解析为对应的多个 echarts 配置项
*/
import type StandardChart from '../../core/StandardChart';
import type { Option } from '../../core/option';
declare function parse(option: Option, index: number, chart: StandardChart): void;
declare const _default: {
type: string;
parse: typeof parse;
};
export default _default;