Speeding up a Chart

TeeChart for JavaScript for the HTML5 Canvas
Post Reply
Fabio
Newbie
Newbie
Posts: 5
Joined: Fri Oct 03, 2014 12:00 am

Speeding up a Chart

Post by Fabio » Tue Dec 09, 2014 1:16 am

I have a chart with 8 TeeLine Series, each TeeLine with near of 86400 values (temperature/second). But with this amount of data, the chart becomes very slow to response. Zoom is impossible with this amount of data.

So, I need some tips to improve the chart performance.

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Speeding up a Chart

Post by Yeray » Thu Dec 11, 2014 11:28 am

Hello,

Hiding as many visual effects as possible may improve the performance a bit. Ie:

Code: Select all

  Chart1.title.visible=false;
  Chart1.legend.hover.enabled=false;
  Chart1.legend.format.shadow.visible=false;
  Chart1.panel.transparent=true;
  Chart1.walls.back.visible=false;
  Chart1.panel.format.gradient.visible=false;
  Chart1.panel.format.shadow.visible=false;
  Chart1.axes.left.grid.visible=false;
  Chart1.axes.bottom.grid.visible=false;

  for(var t=0; t<Chart1.series.items.length; t++) {
    series = Chart1.series.items[t];
    series.format.shadow.visible=false;
    series.hover.enabled=false;
  }
I've added two requests to the public tracking system asking the DrawAllPoints feature already present in the other versions, and asking for a faster option to draw the zoom rectangle.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Fabio
Newbie
Newbie
Posts: 5
Joined: Fri Oct 03, 2014 12:00 am

Re: Speeding up a Chart

Post by Fabio » Thu Dec 11, 2014 12:02 pm

I did some of them. I'll try your suggestion.

Post Reply