|
y-axis label modification. |
Posted by jaideep on Jul-10-2012 00:05 |
|
Hi,
Say i have a bar chart like the one attached. As you notice the y-axis shows labels for all the gridlines. Is it possible to control the number of labels that come out ? ( say every second one or third one)
|
Re: y-axis label modification. |
Posted by Peter Kwan on Jul-10-2012 23:22 |
|
Hi jaideep,
You can control the minimum spacing between the labels using Axis.setTickDensity. For example (in C#):
c.yAxis().setTickDensity(50); //at least 50 pixels between labels
Hope this can help.
Regards
Peter Kwan |
|