Resizing fails with JavaScript error

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 Laura Gilbert on 22nd April 2013
Hi,

I get the following error when I try using
line1.Set('chart.resizable',true);

Uncaught TypeError: Object #<Object> has no method 'AllowResizing' RGraph.line.js:850
undefined

There seems to be a missing "AllowResizing" function in the current version.

Any clues?
Posted by RGraph support on 23rd April 2013
Hi there,

Sounds like you need to include the resizing code:

<script src="RGraph.common.resizing.js"></script>



Richard, RGraph Support
Posted by Laura Gilbert on 30th April 2013
...facepalm. Thank you.

Hopefully a less stupid question - do you expect this to work within tooltips? I was hoping to be able to resize the plot within a tooltip but it doesn't appear to work.

Thanks!

Laura
Posted by RGraph support on 30th April 2013
Hi there,

It works WITH tooltips:

www.rgraph.net/docs/resizing-your-charts.html

But I doubt it will work if the chart is WITHIN a tooltip since the dimensions of a tooltip are fixed.




PS - cheers!

Richard, RGraph Support

Add a reply




« Back to message list