Closed sharlagelfand closed 3 years ago
I can set this in axis-layer's spec, but you can also send labelAngle within the spec.
Let's handle on the JS side for now so it's consistent - if we want it to be customizable by the user later on we can revisit sending it with the spec.
Ok @sharlagelfand , done it:
Thanks @giorgi-ghviniashvili! Which commit has this for me to copy over?
@sharlagelfand latest from branch gio/error-bars
.
thanks, looks good!
Discussed already with @giorgi-ghviniashvili, but right now long x-axis labels are cut off (Dream isn't shown at all)
We should either: pass the angle for the axis labels in the specs, or set them within JS to all have labelAngle = -90, so it looks more like this:
I'm inclined to just have this handled on the JS side and always set them to -90