HumbleSoftware / Flotr2

Graphs and Charts for Canvas in JavaScript.
http://www.humblesoftware.com/flotr2/
MIT License
2.44k stars 527 forks source link

large data sets #205

Closed ghost closed 11 years ago

ghost commented 11 years ago

Hi folks,

I'm trying to display a large data set in flotr2 (by "large", I mean 100,000 points).

I'm finding though that it's very slow.

Here is a url: http://www.xlhi.com/weather/widget2.php (click on temperature graph)

Is there any way to prevent my browser from freezing?

Many thanks in advance,

cesutherland commented 11 years ago

Hello, this is a limitation of HTML5 Canvas unfortunately. Flotr2 is tuned to be fast. You can do a few trick things with sub-sampling data, however.

Envision does this for you for linear data: http://humblesoftware.com/envision/ It will happily handle a million points or more.

-Carl

On Wed, Mar 13, 2013 at 12:44 PM, hynese notifications@github.com wrote:

Hi folks,

I'm trying to display a large data set in flotr2 (by "large", I mean 100,000 points).

I'm finding though that it's very slow.

Here is a url: http://www.xlhi.com/weather/widget2.php

Is there any way to prevent my browser from freezing?

Many thanks in advance,

— Reply to this email directly or view it on GitHubhttps://github.com/HumbleSoftware/Flotr2/issues/205 .

ghost commented 11 years ago

Hi,

Many thanks for your reply. I'll look into sub-sampling.