ExCanvas creates a new VML element for every stroke so it's not that
surprising that you're running into performance issues on pages with
multiple large charts.
There are a few things you can do to speed things up however.
1) If you update a chart try clearing the canavs first instead of just
drawing a new layer on top. That way the VML elements for the old layer
are removed, thus reducing the size of the DOM.
2) Try drawing off screen like you suggested by setting display to none
before you start and restoring it once done drawing. You shouldn't have
to wait for any type of event here, resetting it to display the element
will trigger a reflow drawing the chart.
3) Use the silverlight implementation of ExCanvas instead of the VML one
when available. The silverlight implementation is much, much faster
(last time we checked it was faster than the native canvas
implementation in firefox). As silverlight is installed for an
increasingly large percentage of IE users this might be viable and it'ss
certainly the easiest way to drastically speed things up in IE.
--
Emil A Eklund
em...@eae.net