@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) • 652 B
TypeScript
import type { Cell, DataItem } from '../../types';
import { ChartType } from '../../types';
export declare const isStackChartInAxes: (series: any[], chartType: ChartType) => boolean;
export declare const isStackChart: (spec: any, chartType: ChartType, cell: Cell) => any;
export declare const isPercentChart: (spec: any, chartType: ChartType, cell: Cell) => any;
export declare const isStackSeries: (spec: any, yField: string) => boolean;
export declare const isPercenSeries: (spec: any, yField: string) => boolean;
export declare const sumDimensionValues: (dataset: DataItem[], measureId: string | number, getValue?: (v: number) => number) => number;