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

0
0

Hi,

I am trying to add labels to the x axis but I don’t want the axis line to be visible. numericAxis.drawLabels = true enables the x axis line also. Is there a way to disable it?

Version
2.2
  • You must to post comments
0
0

Hi Vidya,

Have you tried to set DrawMinorTicks and DrawMajorTicks to false?

    numericAxis.setDrawMinorTicks(false);
    numericAxis.setDrawMajorTicks(false);

Best regards,
Yura

  • Vidya Sagar Mohanraj
    Yes. I have tried that. It disables the gridlines but it doesn’t remove the line that the labels rest on. I am talking about the line adjustment to the labels.(fyi this not the tick lines)
  • Vidya Sagar Mohanraj
    achieved it by using a custom BottomAlignmentInnerAxisLayoutStrategy
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.