From: apchar b. <ap...@ly...> - 2005-01-12 06:45:31
|
I want to create a linechart without a legend. The javadocs say=20 just pass null to axisChartDataSet() where the legends array would=20 go. It compiles fine but when I run it (in appletviewer) I get java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 and the applet plots nothing. The line in question is AxisChartDataSet axisChartDataSet=3D new AxisChartDataSet( data, null, pain= ts, ChartType.LINE, lineChartProperties ); What did I do wrong? Thanks, Apchar. --=20 _______________________________________________ Find what you are looking for with the Lycos Yellow Pages http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.as= p?SRC=3Dlycos10 |