I have a BaseVals
series acquired from sql by a linq query on my chart. I need to put tolerance boundaries on the chart also depending on this BaseVals series' Y points
.
X points of these boundary series will remain same. I am using below code for querying
int max1 = dataContext.SupplierVals
.Where(m => m.MouldID == mouldId && m.Plane == plane)
.Max(m => m.MeasId);
var query = dataContext.SupplierVals
.Where(m => m.MouldID == mouldId
&& m.MeasId == max1).ToList();
if (cbBenchType.SelectedIndex == 0)
{chartBench.Series["BaseVals"].Points.DataBind(query, "Distnc", "Apert", null);
}
How can i add 2 series (y points of the series "BaseVals" + 0.1)
and
(y points of the series "BaseVals" - 0.1)
?