UNPKG

@adyen/lume-vue3

Version:

Lume is a Vue data visualization component library, built with Typescript and D3.

14 lines 704 B
import { ScaleLinear } from 'd3'; import { Scale } from './scales'; /** * Generates the path definition between the point at a provided index (`lineIndex`) * and the previous point relative to that index. * * @param lineIndex The index of the data point of the line to render. * @param values An array of the previous and current data value * @param xScale The chart X axis scale. * @param yScale The chart Y axis scale. * @returns A path definition string to provide to the `d` attribute of `<path>`. */ export declare function getLinePathDefinition(lineIndex: number, values: Array<number>, xScale: Scale, yScale: ScaleLinear<number, number>): string; //# sourceMappingURL=line-values.d.ts.map