Nevron Forum

Chart cannot be refreshed when in foreground

https://www.nevron.com/Forum/Topic9614.aspx

By Fan-Jiang Zeng - Thursday, March 10, 2016

There is a strange phenomenon. When the chart control is in foreground and visible to users, even if I explicitly invoked Chart::Refresh() after some lines of dynamic drawing code, i.e. adding data to a line, the chart stayed still. So I have to put a refresh button (Chart::Refresh() is bound to its Clicked event in the background code) near the chart and refresh it by hand.
However, if the chart could not be seen on the screen, e.g. overlapped by other controls or deactivated in the background, Chart::Refresh() worked after dynamic data update in the background code, the new line or shape appeared.

I treated it as a bug in the Nevron Chart code. It sometimes annoys me and my customers. Are there any solutions or fix-up? I'm using Nevron 2010, maybe the problem has been solved in newer versions?