import { LegendOptions } from '../../models'; import Canvas from '../../renderer/canvas'; import AtomComponent from '../../atomComponent'; import { SeriesCategory } from '../../constants'; export default class Legend extends AtomComponent { private static readonly rectWidth; private static readonly rectHeight; protected seriesCategory: SeriesCategory; private readonly defaultOptions; private options; private graphicData; constructor(chart: any, canvas: Canvas, data: any, options: LegendOptions); render(): void; private drawLegend; private update; private processData; private getRectBorders; private bindInteraction; private generateLegendName; private processOptions; }