clone of github.com/decent-newsroom/newsroom
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
570 B

export default class CategoryScale extends Scale {
static id: string;
/**
* @type {any}
*/
static defaults: any;
/** @type {number} */
_startValue: number;
_valueRange: number;
_addedLabels: any[];
init(scaleOptions: any): void;
parse(raw: any, index: any): number;
buildTicks(): {
value: any;
}[];
getLabelForValue(value: any): any;
getPixelForValue(value: any): number;
getPixelForTick(index: any): number;
getValueForPixel(pixel: any): number;
}
import Scale from "../core/core.scale.js";