Hi, I have a simple mobile site with a splitview and a main view. The split view has a list of categories and the main view displays a number of charts using d3.js.
The functionality works fine, but it is very slow when selecting a new category in the split view. Looking at a profile in chrome developer tools shows that 80% of the time is spent removing the children in the svg/g nodes of the d3 charts. Obviously there are a lot of these children as the charts have a lot of points and it seems that each one traverses the history list via a kendo observer pattern.
Is there a way to speed this up? Can I use a bit of java-script before the navigation happens to destroy the d3 svg elements without triggering all of the expensive kendo calls?