@visactor/vchart
Version:
charts lib based @visactor/VGrammar
5 lines (4 loc) • 409 B
TypeScript
import type { ISeries } from '../../../../series/interface';
import type { IDiscreteLegendData, IDiscreteLegendDataMakeOption, IDiscreteLegendFilterOption } from './interface';
export declare const discreteLegendDataMake: (data: Array<ISeries>, op: IDiscreteLegendDataMakeOption) => IDiscreteLegendData[];
export declare const discreteLegendFilter: (data: Array<any>, op: IDiscreteLegendFilterOption) => any;