-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Is there a way to rotate the labels in a bar chart and set them e.g. in vertical position because if the labels are too long they overlap each other.
I tried the following code, the labels rotate but the resulting plot is not good
BarChart.custom(data.map(Bar.apply), spacing = Some(20), barRenderer = Some(labeledByColor))
.discreteAxis(position = Position.Bottom, labels = labels, values = data , tickRenderer =
Some(TickRenderer.axisTickRenderer(Position.Bottom, rotateText = 45)))
.hline(0)
.render()
Metadata
Metadata
Assignees
Labels
No labels

