This is a migrated thread and some comments may be shown as answers.

line chart with LOTS of data

1 Answer 405 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Pat
Top achievements
Rank 1
Pat asked on 06 Jan 2012, 11:05 PM
hi,
  i just finished reading all the examples and forum, have not attempted creating a line
chart yet, but i have a question.  i'd like to create a line chart with 3 series, and lots of data points.
one data point for every 10 seconds, for an entire day...i think that is about 8,640 data points.

1) should this much data be expected to work?

2) i have read about rotating the axis labels 90 degrees, but i think that will still be crowded.
is there a way to make this  look readable?

3) do you have plans to auto-scale the x-axis?  (slider to zoom in would be great)

thanx very much...pat

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 09 Jan 2012, 03:57 PM
Hello,

Rendering 10 000 points at once is quite a stretch for the current version. We don't yet support sampling, so the chart we'll be doing a lot of unnecessary work.

You might be able to do the sampling manually and reduce the number of points.  For example, if you have 8 000 points you can reduce them to 1000 by averaging every 8 points. Or by taking every 8th point. The best approach depends on the nature of the data itself.

The scatter line chart supports x-axis scaling and is available in the current version. Zooming and panning are planned, but they're pretty far off.

I hope this helps.

Regards,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Pat
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or