Hello,
I noticed that you call BeginUpdate and then EndUpdate for each chart on a multi-chart example sequentially.
Example 1.
chart1.BeginUpdate();
chart1.DoStuff();
chart1.EndUpdate();
chart2.BeginUpdate();
chart2.DoStuffToo();
chart2.EndUpdate();
Is there any reason I can't do this...?
Example 2.
chart1.BeginUpdate();
chart2.BeginUpdate();
chart1.DoStuff();
chart2.DoStuff();
chart2.EndUpdate();
chart1.EndUpdate();
Thanks,
Matt
BeginUpdate on multiple charts at the same time
Moderator: Queue Moderators
-
- Posts: 28
- Joined: Tue Sep 30, 2014 8:06 pm
Re: BeginUpdate on multiple charts at the same time
Sure you can call BeginUpdate on all of your charts before setting their properties. It's just a matter of taste. Just remember to call EndUpdate on all charts that you have called BeginUpdate on.
-
- Posts: 28
- Joined: Tue Sep 30, 2014 8:06 pm
Re: BeginUpdate on multiple charts at the same time
Thanks for clearing that up. I was paranoid that that was my problem at the time.