@antv/f2
Version:
Charts for mobile visualization.
19 lines (18 loc) • 463 B
TypeScript
import Base from '../base';
/**
* 分类度量
* @class
*/
declare class Category extends Base {
readonly type: string;
readonly isCategory: boolean;
private translateIndexMap;
private buildIndexMap;
translate(value: any): number;
scale(value: any): number;
invert(scaledValue: number): any;
getText(value: any, ...args: any[]): string;
protected initCfg(): void;
protected setDomain(): void;
}
export default Category;