Bober02 Posted August 3, 2010 Report Share Posted August 3, 2010 Hi, I have a Chart which is bound to List of lists of points (lines of points basically) and it uses List transform to bind property "X" to X axis etc. Now, when I call a method which basically clears this List of Lists (removes all series) I get exception from some data binding function, which is unhappy about not having anything on the chart. Similarly, it breaks when I use List.removeAt() for all objects. Any solution? I am happy with removing the Chart (deleting object) when this is invoked, but then I have to set everything (all my xaml properties etc.) again when I add new series and generate new chart right? Quote Link to comment Share on other sites More sharing options...
JuanC Posted August 5, 2010 Report Share Posted August 5, 2010 This issue should be fixed on build 3868 or later. You can download our most recent hotfix here (make sure you run IE as an Administrator if UAC is enabled). JuanC Quote Link to comment Share on other sites More sharing options...
Bober02 Posted August 9, 2010 Author Report Share Posted August 9, 2010 Just donwloaded it and it still doesn't work. It does not throw any exceptions now on Clear() method, but all series remain on graph. When I remove it one by one and add sth later, it does not perform any update... Ideas? Quote Link to comment Share on other sites More sharing options...
JuanC Posted August 11, 2010 Report Share Posted August 11, 2010 In our tests, clearing the top level list, or adding/removing items to the top level list updates the chart as expected. Please try reproducing this issue in a small sample app and send it to us. JuanC Quote Link to comment Share on other sites More sharing options...
Bober02 Posted August 12, 2010 Author Report Share Posted August 12, 2010 I included a sample program for you to look at. Try adding some series and then test two separate buttons (one uses List.Remove() on all items, the other List.Clear() method). Thanks in advance for your help. Quote Link to comment Share on other sites More sharing options...
JuanC Posted August 17, 2010 Report Share Posted August 17, 2010 This has been fixed AFAIK in build 3880, please make sure you check the file version before retesting your app. JuanC Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.