Pre loader

Labels positions

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

I want to make my labels positions in the centre of axis (y axis which is transparent). Only three labels have to be showed. On the same height with the min, max and actual points. How can I achieve this.

enter image description here

Version
4.3.0.4646
  • You must to post comments
0
0

Hi Iliya,

You can place axis within chart area by calling setIsCenterAxis(true) on axis instance:

axis.setIsCenterAxis(true)

For more complex layout of axis – please take a look on documentation article about placing axis in the center of chart


As for labels – it looks like you’ll need to create custom TickProvider to override default label placement and instead place them at desired locations ( e.g. provide list of majorTicks where labels should be placed in updateTicks() override ). Is this suitable for your needs?

Hope this will help you!

Best regards,
Yura

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies