Relative Content

Tag Archive for vb.netcharts

How to create a chart with multiple series in VB with ADO.NET, with one column determining the series, one the X, and one the Y?

I am using System.Web.UI.DataVisualization.Charting to create a chart that displays sensor data from different sensors. Data is pulled from SQL Server using a stored procedure and a SqlDataReader and then stored in a DataTable with 3 relevant columns: the Name of the sensor, the Date the measurement was taken, and the Value measured. I currently make the chart with this code: