UNPKG

rumble-charts

Version:

Truly declarative React charts components

16 lines (15 loc) 470 B
import type { Point, Series } from '../types'; declare type RandomParams = { seriesIndex: number; pointIndex: number; value: number; }; declare type Options = { type?: 'number' | 'integer' | 'array' | 'object'; min?: number; max?: number; float?: boolean; point?: Point | ((params: RandomParams) => Point); }; export declare function generateRandomSeries(seriesCount: number, pointsCount: number, options?: Options): Series[]; export {};