Measuring Silverlight chart loading time -


I'm trying to measure different Silverlight Charting libraries to load (eg Silverlight Control Toolkit, Visiffer , Teller) how much time it takes on the screen.

My problem is that I can only measure till the control gets loaded and the screen starts to appear on the screen, although rendering takes longer because of the animation effects.

Is there a chance when some automatic ways can be ascertained when I finish rendering? My problem is that I only got loaded event handler on Silverlight Framework element, which is only informed about rendering.

For example, I am currently using Silverlight Control Toolkit for:

  Public Zero Init () {chart chart = new chart (); // Init chart object DataPointSeries series; (...) // Init series, add multiple points, set data binding charts. Chain. Add (series); Add // Add series to the chart chart. Loaded = new routing and handler (chart_loaded); LayoutRoot.Children.Add (chart); StartTimer (); // Wait for the control to start timer and load} Public Zero Chart_loaded (Object Sender, RoutedEventArgs e) {StopTimer (); // problem: rendering just started at this point, has not yet been completed! }  

I have found some charts for some libraries and some others. No. Here I can rule those events for taking real time:

Dundas chart:

  chart chart; Chart. ImageRedium + = New Image Downloaded (Chart_EzagerRedi); // stop timer on this event  

Silverlight Toolkit:

  chart chart; Data Points Series Series; Chart.Series.Add (series); Chart. Series [0]. Loaded = new routing and handler (chart_loaded); // Stop timer on this event  

STMA T chart:

  TChart chart; Chart.AfterDraw + = New Paint Chart Documents Handler (Chart_Afterdor); // stop timer on this event  

Telereak RAD chart:

  Radchart chart; Chart.DefaultView.ChartArea.Loaded + = new routing and handler (chart_loaded); // stop timer on this event  

Visitor

  chart chart; Chart.AnimationEnabled = false; // close the animation chart. Loaded + = new routing and handler (chart_loaded); // Stop timer on this event  

Infagristics was for NetAdvantage, the only library which I could not stop for an event that was removed at the right time.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -