import { Chart } from './Chart'; import { Title } from './Title'; import { LegendPosition } from './LegendPosition'; import { HoriziontalAlign } from './HoriziontalAlign'; import { LegendLabel } from './LegendLabel'; export declare class Legend { id?: number; uuid: string; /** * Is the legend shown? */ display: boolean; /** * Position of the legend. */ position: LegendPosition; /** * Alignment of the legend. */ align: HoriziontalAlign; /** * Maximum height of the legend, in pixels */ maxHeight?: number; /** * Maximum width of the legend, in pixels */ maxWidth?: number; /** * Marks that this box should take the full width/height of the canvas (moving * other boxes). This is unlikely to need to be changed in day-to-day use. */ fullSize: boolean; /** * true for rendering the legends from right to left. */ rtl: boolean; /** * Legend will show datasets in reverse order. */ reverse: boolean; title: Title; labels: LegendLabel; chart: Chart; }