Zooming your charts using thumbnail mode

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 Weezy on 15th June 2016
Hello,

I have tried several time to obtain like this exemple (Look 'Thumbnail mode'):

hacksaw.mmto.arizona.edu/src/RGraph_2010-03-27-stable/RGraph/docs/zoom.html


This is my program:
<script>
     graph = new RGraph.Line({
         id: 'cvs',
         data: [4,6,8,7,9,4,3,8,7,4,5,5,5],
         options: {
             labels: ['Fry','Hav','Jim','Moo','Io','Olga','Tim','Gaz','Jake','Pippa','Lou','Fred','John'],
             contextmenu: [['Zoom in', RGraph.Zoom]],
             title: 'Chart with zoom (context-menu, annotatable)',

             zoomDelay: 15,
             zoomFactor: 1.6,
             zoomMode: 'thumbnail',
             zoomVdir: 'center',
             zoomThumbnailWidth: 100,
             zoomThumbnailHeight: 100,

         }
     }).draw()
</script>

But doesn't work, I don't know why.
Posted by Richard on 15th June 2016
Hi there,

Thumbnail zoom was removed years ago. It didn't really serve a good purpose and was a bit gimmicky.




Richard

PLEASE READ:

If RGraph has helped you please give your feedback - thanks! You can give your feedback or leave a testimonial by adding a forum post or clicking on the speech bubble icon at the very top right.

But most of all: Please link to the RGraph website! (get information by clicking on the chain icon at the top right of the page)

Add a reply




« Back to message list