Pre loader

The xAxis label of the CursorModifier

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

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.

Labels
https://ibb.co/6HzPCRr

Best regards,
Kamil

Version
3.4.652
  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.