UNPKG

@formant/ava

Version:

A framework for automated visual analytics.

14 lines (13 loc) 649 B
import type { Axis, Extra } from './types'; export declare function isAxis(value: unknown): value is Axis; export declare function generateArrayIndex(data: unknown[], extraIndex?: Axis[]): Axis[]; export declare function fillMissingValue(datum: unknown, fillValue: any): unknown; export declare function generateSplit(length: number): string; export declare function stringify(value: unknown): string; export declare function getStringifyLength(value: unknown): number; /** * Convert data to specified data type. * @param data * @param type */ export declare function convertDataType(data: unknown, type: Extra['columnTypes'][number]): unknown;