MSChart SuspendUpdates not working -
i trying use series.suspendupdates prevent redrawing on every added data point although doesn't seem doing anything. still repaints every added point if nothing suspended.
it works fine here. show code!
note there no someseries.suspendupdates
,
someseries.points.suspendupdates()
or
somechart.series.suspendupdates()
as function works on chartelementcollections
.
see here msdn
also note keep track of suspendupdates
, resumeupdates
calls state gets stacked, need balance them:
if call suspendupdates method several times, need call resumeupdates method equal number of times.
Comments
Post a Comment