Chart is not updating


Author
Message
Devin Ellis
Devin Ellis
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 9, Visits: 87
In WPF, we have a grid where each row is the name of a chart and beside that a tab control.
When a grid row is clicked we select the appropriate grid tab, as the currently viewed tab, and initialize the chart (which is displayed 
in an NChartControl). After the chart is initialized we call Refresh on the NChartControl. We do this because there
can be a number of charts and we don't want them all to be initialized on startup of the view because of the time
it takes. So by initializing and refreshing when the chart is made viewable we minimize startup time of the view.
This only works on the first tab that is brought up, the rest of the tabs just show an empty chart control.
What is wrong with this approach? Note: we have tried InvalidateVisual on the chart control and that does not help either.




GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search