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?
- You must login to post comments
Hi Vidya,
Have you tried to set DrawMinorTicks and DrawMajorTicks to false?
numericAxis.setDrawMinorTicks(false);
numericAxis.setDrawMajorTicks(false);
Best regards,
Yura
- Yura Khariton answered 4 years ago
- 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)
- achieved it by using a custom BottomAlignmentInnerAxisLayoutStrategy
- You must login to post comments
Please login first to submit.