My chart is not displayed when the data is more than 1000 values long


« 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 Manikanta on 24th January 2018
if data is more then 1000 records,chart is not displayed only tooltips are shown when mouse hover on a canvas area.
Posted by Richard on 24th January 2018
Hi there,

Well you didn't say which chart you're using so Ill assume it's the bar.

You've got to bear in mind that the hmargin will mean that each bar takes up more space than just the bar itself. So what you can do is set the hmargin to 0. =

This example does just that:

www.rgraph.net/tests/canvas.bar/1000-bars.html

Of course the canvas needs to be wide enough - so it's 3000px wide. You'll probably also want to turn off the vertical grid lines as they are here.

Richard

Add a reply




« Back to message list