Group: Forum Members
Last Active: Last Year
Posts: 21,
Visits: 74
|
Hi Guys!
Thank you! Yes! I can get the moment when redraw finishes at the end of this function:
public void OnAfterPaint(NPanel panel, NPanelPaintEventArgs eventArgs)
Best Regards, Zonder
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Zonder, The controls works in the main UI thread - most likely when you have lots of data it simply takes time before the control is actually refreshed - the refresh will post a paint message in the message queue which will be processed with generally low priority in windows. You can install a post paint callback which can be called after the control has rendered a chart - check out the custom painting examples shipped with the control.
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: Last Year
Posts: 21,
Visits: 74
|
I have big amount of data points in my chart and I need to refresh it as fast as possible. But it seems that nevron chart works in a separate thread when I force it to refresh (calling Refresh or Invalidate procedure)
Is it possible to catch the moment when the redraw is finished?
I’ve tried nChartControl1.Invalidated event but it doesn’t work properly. The event fired a bit early than the chart is really refreshed.
|