Charting more than 2 series of data?

SageT

Member
Joined
Feb 2, 2022
Messages
10
Programming Experience
3-5
Only getting my first and last data series.

NTC_Tool_Graph.Series["Temprature"].Points.AddXY(lable, Temprature);
NTC_Tool_Graph.Series["Output Temprature"].Points.AddXY(lable, Program.Data_File.SimulationGraphData[loop]);
NTC_Tool_Graph.Series["High Window"].Points.AddXY(lable, High_error[loop]);
NTC_Tool_Graph.Series["Low Window"].Points.AddXY(lable, Low_error[loop]);

No matter what sets I comment out I get just the first and last Series to plot. Is there a control that I am not updating ?
 
A series is not necessarily plotted on a chart; it can store data point values that are used to perform a calculation from which another series is created and then plotted. For example, Series A, which is plotted, may be the result of adding Series B and Series C data points together, though neither of these series is plotted. In order to draw a Series object, the ChartArea property must be set to the name of the ChartArea object used to plot the series.
From
 
As far as I can see they are all ChartArea1.
Do they each need a to each have a different ChartArea?
 

Attachments

  • chart fail_small.jpg
    chart fail_small.jpg
    37.2 KB · Views: 17
That's the only thing I can think of. I can count with the fingers on one hand the number of times I've use the WinForms Chart control, and in the end none of those times the code ever went into Production for one reason or another.
 
Back
Top Bottom