Posted 8 August 2018, 11:10 pm EST
In my real project, I have C1Charts that are not loading properly. I was able to recreate the issue with a simple demo. The demo is attached. The demo has these important elements:
-
“MVVM”
-
“DataTemplates”
-
“TabControl with C1Charts on different tabs”
To see the problem:
-
“Run the demo”
-
“Click on the Chart 1 tab, see the chart”
-
“Click on the Chart 2 tab, notice that the chart does not change, though the TextBlock text does change”
-
“Close the demo”
-
“Restart the demo”
-
“Click on the Chart 2 tab, see the chart”
-
“Click on the Chart 1 tab, notice that the chart does not change, though the TextBlock text does change”
To me, it seems important the TextBlock is updating properly, while the chart is not.
Am I doing something wrong? Or is there a work around?