import {
    ChartElementAlign,
    ChartElementPosition, ChartFontSettings,
    ChartLegendTitleSettings,
    ColorEditor
} from "@webbpm/base-package";

export class ChartLegendSettings {
    public display: boolean = true;
    public fullSize: boolean;
    @ColorEditor()
    public color: string;

    public align: ChartElementAlign = ChartElementAlign.CENTER;
    public position: ChartElementPosition = ChartElementPosition.TOP;

    public font: ChartFontSettings;
    public title: ChartLegendTitleSettings;
}
