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

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

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.