import { Datum } from '../interface'; import Geometry from './base'; /** 引入对应的 ShapeFactory */ import './shape/interval'; /** * Interval 几何标记。 * 用于绘制柱状图、饼图、条形图、玫瑰图等。 */ export default class Interval extends Geometry { readonly type: string; readonly shapeType: string; protected generatePoints: boolean; /** * 获取每条数据的 Shape 绘制信息 * @param obj 经过分组 -> 数字化 -> adjust 调整后的数据记录 * @returns */ protected createShapePointsCfg(obj: Datum): import("../interface").ShapePoint; /** * 调整 y 轴的 scale 范围。 * 对于 Y 轴为数值轴柱状图,默认从 0 开始 生长。 */ protected adjustScale(): void; }