How can I create a line graph in Java OR VB.NET with the following data?
Sales Rep # of Sales Date
Anthony 15 August 1
Anthony 17 August 2
Mark 27 August 1
David 27 August 1
Mark 30 August 2
David 14 August 2
In VB.Net, put your data into a
DataTableand bind it to aChartcontrolTutorials on how to bind a
DataTableto aChartare here and here.Also, there a some open-source chart controls like this and this.
Edit:
Here’s a simple example to show you how the
Chartworks:Using Java, have a look into JFreeChart, which can also render different kinds of charts (and there a probably a lot of other Java controls/libs for displaying charts).