how could i bring the values for chart from database instead of giving it in the program
please help me to solve this problem as it is very urgent
srikanth
drawing chart with values from database
RE: drawing chart with values from database
You may have to use java.sql.* package. Make a result set of your database values. Initialize the multi dimension array and fill the array. Pass the array to datasourceobject of JFreeChart.
Subodh
Subodh
RE: drawing chart with values from database
i've made the multidimensional array of database values and also used sql packageand passed the array to the datasourceobject.i'm able to compile it correctly but during running nullpointer exception is coming.how could i solve this?