Sliding Line left to right in Line chart

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« 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 Udaya Shakya on 25th March 2013
Is that possible to have two buttons(left and right) next to line graph and on click of the buttons the line graph loads or slides left or right.
Posted by RGraph support on 25th March 2013
Hi there,

Yes - you can either use the CSS3 animation effects shown on this page:

dev.rgraph.net/docs/howto-use-css3-animations.html

Or you could use the RGraph effects

dev.rgraph.net/docs/animation-and-visual-effects.html#slideout
dev.rgraph.net/docs/animation-and-visual-effects.html#slidein

In between applying the effects you can reset the canvas and draw a new chart on it. You might also find this page useful:

dev.rgraph.net/docs/howto-scissors-transition.html


Richard, RGraph Support

1 Year Priority Support now reduced to £299:
   www.rgraph.net/support
Posted by Udaya Shakya on 27th March 2013
Thank you very much for your update. Unfortunately, my question was not clear enough to have right answer. Sorry about that.

Could you please click link below to see what I was trying to achieve. It works well but I am sure there should be easier way to approach. Could you please help?

hamromultimedia.com/graphtest/test/
Posted by RGraph support on 27th March 2013
Hi there,

Help with what?



Richard, RGraph Support

1 Year Priority Support now reduced to £299:
   www.rgraph.net/support
Posted by Udaya Shakya on 27th March 2013
hamromultimedia.com/graphtest/test/

If you follow the link above.I have posted an example that I am trying to achieve.

Please click Click left and right.

Is there any alternative way to do so?
Posted by RGraph support on 27th March 2013
Hi there,

Not really - it looks like you're using jQuery and that's probably the best way to go. There's the slide out and slide in effects - but they're slightly different.

www.rgraph.net/docs/animation-and-visual-effects.html#slideout
www.rgraph.net/docs/animation-and-visual-effects.html#slidein


Richard, RGraph Support

1 Year Priority Support now reduced to £299:
   www.rgraph.net/support

Add a reply




« Back to message list