SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components

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.