UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

8 lines (7 loc) 338 B
import type { ISeriesStackDataNode } from '../../series/interface'; import type { DataView } from '@visactor/vdataset'; export interface IStackOption { fields: string[]; } export type StackOption = IStackOption | (() => IStackOption); export declare const stackSplit: (data: Array<DataView>, op: StackOption) => ISeriesStackDataNode;