BarLabelDecorator
labelAnchor
position label bar chart item
BarLabelAnchor
Type | Description |
---|
start | Positions the label at the start/bottom of the bar |
| |
middle | Positions the label in the center of the bar |
| |
end | Positions the label at the end/top of the bar |
| |
barLabelPosition
Configures where to place the label relative to the bars.
BarLabelPosition
Type | Description |
---|
auto | It automatically tries to place the label inside the bar first and if it doesn't fit it will be set outside the bar |
| |
inside | Always place labels inside the bar |
| |
outside | Always place labels on the outside of the bar |
| |
right | Places the label to the right inside the bar, and applies it to the horizontal bar. For now the horizontal bar in Combo cannot be used |
labelPadding
Space before and after the label text.
insideLabelStyle
style for label when the position is inside
outsideLabelStyle
style for label when the position is outside