@alicloud/cloud-charts
Version:

14 lines (13 loc) • 426 B
TypeScript
import RawLegendController from '@antv/g2/esm/chart/controller/legend';
import { View } from '@antv/g2/esm';
declare class WidgetsLegendController extends RawLegendController {
private parentDom;
private legendContainer;
constructor(view: View);
layout(): void;
private createCustomLegend;
private createCategoryLegend;
clear(): void;
destroy(): void;
}
export default WidgetsLegendController;