Interface for configuration of Bar Chart category labels.

Used with setCategoryLabels.

Hierarchy

  • BarChartCategoryLabels

Properties

Label text formatter. See BarChartLabelFormatter for examples.

labelFillStyle: FillStyle

Label fill style. See FillStyle for examples.

labelFont: FontSettings

Label font. See FontSettings for examples.

labelMargin: number

Pixels margin before label.

labelRotation: number

Label rotation as degrees.

labelShadow: undefined | Color

Not to be confused with GlowEffect

Introduced in v7.0. API may be changed according to user feedback and reports.
tickLength: number

Length of tick line as pixels.

tickStyle: LineStyle

Tick line style. See LineStyle for examples.