@visactor/vchart
Version:
charts lib based @visactor/VGrammar
5 lines (4 loc) • 299 B
TypeScript
import type { IDiscreteLegendSpec } from './interface';
import type { ILayoutRect } from '../../../typings/layout';
import type { IOrientType } from '../../../typings/space';
export declare function getLegendAttributes(spec: IDiscreteLegendSpec, rect: ILayoutRect, layoutOrient?: IOrientType): any;