If my data is very large, what should i do?


« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Will on 15th November 2016
if my line/bar data is [1,2,...,1000],
the length is over 200+ or 300+,
the canvas cannot be draw all the data.
that means i just can see some data in the canvas,not all data.
how should i do? thank you
Posted by Richard on 15th November 2016
Hi there,

Two things:

1. Use a wider canvas with a static Y axis like this:

www.rgraph.net/demos/line-static-yaxis.html

2. You could average out the data. ie Take the average of, say, 5 points and then use that instead of the 5 points. So your data of 1000 points would become 200.



Richard

Add a reply

 




« Back to message list
RGraph on social media