import { Font } from "../../../font"; import { PlotOptions } from "../plot-options"; import { MetricOptions } from "../metric-options"; import { MajorOptions, OptionsDefaults, SkinOptions } from "../../options-defaults"; import { Color } from "../../../color"; /** * Bars plot options * */ export interface BarsPlotOptions extends BarsPlotMajorOptions, BarsPlotSkin { } export interface BarsPlotMajorOptions extends PlotOptions, MajorOptions { /** * Array of options for each of stacked bar metrics. * */ metrics: Array>; } export interface BarsPlotSkin extends SkinOptions { /** * True, if labels must be drawn on bars. Otherwise, false. */ drawLabelsOnBars?: boolean; /** * Bars labels precision (amount of digits after zero). */ labelsPrecision?: number; /** * True, if plot border must be darker than plot background. Otherwise, must be false. */ useDarkerBorder?: boolean; /** * Font of labels on bars */ font?: Font; /** * Color of labels bars */ foregroundColor?: Color; } export declare class BarsPlotOptionsDefaults extends OptionsDefaults { private constructor(); protected readonly skins: { [key: string]: BarsPlotSkin; }; protected readonly majorOptions: BarsPlotMajorOptions; static readonly Instance: BarsPlotOptionsDefaults; } //# sourceMappingURL=bars-plot-options.d.ts.map