Hi Sachin,
1. I assume the 0.1 label on the y-axis really refer to 10% (and not 0.1%). In this case, the
y label format is the actual value, times 100, and append the "%" character at the end. The
format string is therefore "{={value}*100}%". The code is like:
c.yAxis().setLabelFormat("{={value}*100}%");
2. You may use Axis.setLabelStyle to rotate the labels by 45 degrees. The "Candlestick
Chart" sample code illustrates this. It is like:
c.xAxis().setLabelStyle("Arial Bold", 8, 0x000000, 45);
3. The method is XYChart.setAxisAtOrigin. The sample code "4 Quadrant Chart" is a chart
with an x-axis in between +ve and -ve values on Y-Axis. For your case, the code is like:
c.setAxisAtOrigin(Chart.XAxisAtOrigin);
Hope this can help.
Regards
Peter Kwan |