Hello,
I wanted to move the displayed data away from the Y-axis because the annotations were not fitting. So I set overrideOffset: -14 on the X-axis (CategoryAxis). The data moved, but now the labels on the X-axis are not centered, so I set on the X-axis labelStyle: {padding: new Thickness(2, 36, 0, 0)}. The labels are centered, but now the labels from CursorModifier are shifted. Is there any way to move them? I would like to have all the labels centered. I couldn’t find any properties to change the padding – the only changes available are color changes. Unless there is another method to move the data series away from the Y-axis instead of using overrideOffset.
Best regards,
Kamil
- Kamil Macura asked 2 years ago
- You must login to post comments
Hi
I think you probably want to set axisThickness instead of overrideOffset which sets a minimum width of the vertical axis (or height of a horizontal axis). If you need to update this at runtime, you have to set
axis.axisRenderer.axisThickness
Regards
David
- David Burleigh answered 2 years ago
- You must login to post comments
Please login first to submit.

