1 | import Base from '../base';
|
2 | /**
|
3 | * 连续度量的基类
|
4 | * @class
|
5 | */
|
6 | export default abstract class Continuous extends Base {
|
7 | isContinuous?: boolean;
|
8 | nice: boolean;
|
9 | scale(value: any): number;
|
10 | protected init(): void;
|
11 | protected setDomain(): void;
|
12 | protected calculateTicks(): any[];
|
13 | protected getScalePercent(value: any): number;
|
14 | protected getInvertPercent(value: any): number;
|
15 | }
|