How can we rotate the label on the x-axis: NumberAxis for the LineChart
posted 6 years ago
I have about 60 datapoints that I need to have in the x-axis, ranging from 0 to 300.
The problem is that there is not enough space to go from 0, 5, 10, 15 . . . ., 100, 105
There is not enough space for more than two digits, if we have 60 ticks on the x-axis.
What are my options for displaying in this case?
Can I rotate the label?
Thanks. Finally, I decided to keep only 60 datapoints in one view. Currently, I am trying to implement a wrapper class for LineChart.Data so that I can do a next(), previous(), and current() on it so that I can map this to a button click somewhere beside the chart. Unfortunately, I ran into a problem while doing this. I am starting another thread for that problem.