Open GoogleCodeExporter opened 9 years ago
In JSON format
Please tell me the exact "Name - Value" pair for assinging a data line to
Y-Right axis
Original comment by chidambar.181@gmail.com
on 25 Dec 2010 at 11:05
eh....
I'm not assure about the data-line assigning to the Y-Right Axis , neither....
I was just trying to re-fix the Y-Right axis ...
My exact code was here below:
=======================================================
ChartData _cd = new ChartData();
...
...//Code nothing to do with Y-Right Axis
...
YAxis yaR = _cd.getYAxisRight();
long max_yaR = yaR.getMax().longValue();//where it throws a NullPointerException..
=======================================================
the ChartData Object "_cd" I'm using may not init Y-Right axis sometimes .. so ..when I trying to getYAxisRight() , the null Y-Right axis throws Exception...
And the source code found in ofcgwt2.1.jar are like below :
****************************************
public YAxis getYAxisRight(){
return y_axis_right;
}
****************************************
My Question is :
*********************
Why method "getYAxisRight()" in "ChartData.java" are not null-check like method "getXAxis()" or "getYAxis()"....???
*********************
Original comment by silun...@gmail.com
on 25 Dec 2010 at 2:03
Original issue reported on code.google.com by
silun...@gmail.com
on 24 Dec 2010 at 3:16