11,567 questions
Check if this code meets expectations:
var points = chart1.Series[0].Points;
for( var i = 0; i < points.Count; ++i )
{
points[i].YValues[0] = 1;
}
chart1.Invalidate( );
or
foreach( var p in chart1.Series[0].Points )
{
p.YValues[0] = 1;
}
chart1.Invalidate( );