Reputation: 440
I need to draw a line graph with mysql data which has two columns. some one help me with a sample code.
Upvotes: 0
Views: 4084
Reputation: 17762
Are the two columns the x and y axes of the graph? Why is it important that the data is present in mysql?
Anyways, for reading the data, you need to use jdbc: jdbc tutorial (If you are using Java)
For building the actual graph, I would recommend JFreeChart.
Upvotes: 1
Reputation: 59660
There are number of options available to draw line chart in Java:
Upvotes: 2