Zoom seems not to work using key

Share RGraph:   Share or Like RGraph on Facebook!

« 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 Joachim on 13th April 2016
I'm just learning using RGraph. Now I stumbled over a problem with "contextmenu" and using "RGraph.zoom". This works fine with all zooming options. But when using "key" chart does not zoom though all other zoom options are applied. Is there a limitation of "RGraph.zoom"?

Thanks a lot for your outstanding work!
Posted by Richard on 13th April 2016
Hi,

If it's just a regular key then yes - it should be zoomed, But if you're using an HTML key - then no it won't work as the HTML key isn't painted on the canvas.




Richard
Posted by Joachim on 13th April 2016
Hi,

I'm using:
...
     "key": [
       "Monday ",
       "Tuesday ",
       "Wednesday ",
       "Thursday ",
       "Friday ",
       "Saturday ",
       "Sunday "
     ],
     "keyInteractive": true,
     "keyPosition": "gutter",
     "keyPositionY": 320,
...
Posted by Richard on 13th April 2016
Hi,

I've just tried it here and I don't think the zoom will work with the interactive key option. It works OK without the interactive key though.



Richard
Posted by Joachim on 13th April 2016
hi,

thanks a lot for your help. I'll stick with this...

Add a reply




« Back to message list