I have a WPF application and a chart on tab on a tabcontrol.
1. The user enters some data and clicks a button.
2. The application computes some data and assigned the List<T> to a series on the chart control in C#.
3. Initially the chart control isn't visible (on another tab)
4. The user clicks on the tab and the chart series and axis are perfectly drawn - HOWEVER no Adornments are shown.
5. If the user returns to the original tab and clicks computer again, the same assignment code of the series datasource is run again. (same method)
6. If the user clicks on the chart tab, the chart is correctly drawn WITH the adornments shown.
Unless the chart has drawn once before (been made visible by the client bound to the actual data), adornments aren't drawn. Just binding twice didn't fix it. Unless the chart control was seen by the user, re-binding new data didn't solve the problem.
Code example is too big to send. I may be able to reproduce, but thought i'd ask if you had seen redraw issues like this when charts are on non-visible tabs initially.
Troy