UNPKG

@nova-ui/charts

Version:

Nova Charts is a library created to provide potential consumers with solutions for various data visualizations that conform with the Nova Design Language. It's designed to solve common patterns identified by UX designers, but also be very flexible so that

11 lines (10 loc) 510 B
import { IScale } from "../types"; /** * Apart from just calling scale.convert, this method can also handle multilevel band scales that return arrays of values * * @param scale * @param value * @param {number} position Number in the range of [0, 1] that will define the point inside of the band. Where 0 stands for start. * @param levels how many levels deep can we go during the conversion */ export declare function convert(scale: IScale<any>, value: any, position?: number, levels?: number): number;