@visactor/vmind
Version:
<div align="center"> <a href="https://github.com/VisActor#gh-light-mode-only" target="_blank"> <img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/logo_500_200_light.svg"/> </a> <a href="https://githu
9 lines (8 loc) • 596 B
TypeScript
import { ChartType } from '../types';
import type { DataTable, Cell } from '../types';
export declare const getChartTypeFromSpec: (spec: any, vchartType?: string) => ChartType;
export declare const getDatasetFromSpec: (spec: any) => any[];
export declare const getFieldMappingFromSpec: (spec: any) => {};
export declare const getCellFromSpec: (spec: any, vmindChartType?: ChartType) => Cell;
export declare const revisedCell: (cell: Cell, dataset: DataTable) => Cell;
export declare const fillSpecTemplateWithData: (template: any, dataset: DataTable, propsCell?: any, totalTime?: number) => any;