Is it possible to implement an interactive, sliding data range selection tool for multiple charts?

« 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 M. Peebles on 25th June 2014
I've looked through the documentation and examples but did not see if it was possible to implement a range selection tool that would affect the displayed data for all charts on the page. (X-Axis: Time).

We are looking to have multiple line charts on one page that would interactively scale their X-Axis from one sliding input. Is this possible or is there a working example with the current RGraph release?
Posted by Richard on 25th June 2014
The Line chart has no X scale - for that you'll need the Scatter chart with a connecting line like this:

And then use (perhaps) a range input (a slider bar) to set the xmax option. Once you set that you'll need to update the data and labels appropriately. It might be an idea to select the data/labels that you want to show from a 'master' array, based on the xmax.


Add a reply

« Back to message list