Barchart docs and styling fix (#41362)

* Barchart docs and styling fix

* Fix name of max length

* rename valueRotation -> xTickLabelRotation

also limits slider padding on sliders without marks
This commit is contained in:
Oscar Kilhed
2021-11-12 15:03:19 +01:00
committed by GitHub
parent d72e389d3d
commit 6fe29dda33
10 changed files with 42 additions and 33 deletions

View File

@@ -42,6 +42,14 @@ Use these options to refine your visualization.
- **Horizontal** - Will make the X axis the category axis.
- **Vertical** - Will make the Y axis the category axis.
### Rotate bar labels
When the graph is in vertical orientation you can use this setting to rotate the labels under the bars. Useful if the labels are long and overlap.
### Bar label max length
Sets the max length of the bar label. Labels longer than the max length will be truncated and `...` will be appended to the end.
### Show values
This controls whether values are shown on top or to the left of bars.