Link to home
Start Free TrialLog in
Avatar of sdc248
sdc248Flag for United States of America

asked on

change Y value of a point in MS Chart

Hi:

I have an area chart on a form.  When the program is running the points in the chart are changed from time to time. I do the following to change Y value of a point, but the chart isn't getting changed.  What have I missed?

myChart.Series["mySeries"].Points[ 1].SetValueY(100]);

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of lenordiste
lenordiste
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sdc248

ASKER

myChart.Update() didn't work but myChart.Points.ResumeUpdates() did.  I have no idea what was going on but am glad it's working...
Avatar of sdc248

ASKER

myChart.Update() didn't do the trick, somehow. But it makes sense and it showed me the right direction to find the solution.