Hi all I am very new to chart applications. I created dual line chart using aChartEngine for my android application. I cant set labels for y-axis in my chart.
I got chart like this.....
How can i do this can anybody help me? Thanks in advance.
This will help you:
// hide the default labels
mrenderer.setYLabels(0);
// set the custom labels
mrenderer.addYTextLabel(0, "$0");
mrenderer.addYTextLabel(20000, "$20K");
...
// set the visible range
mrenderer.setYAxisMin(0);
mrenderer.setYAxisMax(140000);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With