UNPKG

@visactor/vscale

Version:

Scales for visual encoding, used in VGrammar, VTable

20 lines (19 loc) 637 B
import type { DiscretizingScaleType, IBaseScale } from './interface'; export declare class QuantileScale implements IBaseScale { readonly type: DiscretizingScaleType; protected _range: any[]; protected _domain: number[]; protected _thresholds: number[]; protected _unknown: any; unknown(): any[]; unknown(_: any): this; rescale(slience?: boolean): this; scale(x: any): any; invertExtent(y: any): number[]; quantiles(): number[]; domain(): any[]; domain(_: any[], slience?: boolean): this; range(): any[]; range(_: any[], slience?: boolean): this; clone(): QuantileScale; }