Zooming your charts using thumbnail mode

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 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

Add a reply




« Back to message list