Uncaught TypeError: RG.SVG.commonSetter is not a function 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 pheo de Montford on 10th March 2017
Hi I am experimenting with your libraries,

I am getting an uncaught error when trying

new RGraph.SVG.Line({
         id: 'chart-container',
         data: data,
         options: {
             backgroundGridVlines: false,
             backgroundGridBorder: false,
             yaxis: false,
             gutterLeft: 50,
             gutterBottom: 50,
             linewidth: 5,
             spline: true,
             shadow: true,
             shadowOpacity: .25,
             title: 'A multi-line spline chart',
             xaxisLabels: ['DOING THINGS','FEELING DOWN','SLEEPING','ENERGY','APPETITE','FEELING BAD','CONCENTRATION','SPEAKING','THOUGHTS']
         }
     }).draw();

I have used the radar graph previously and that one works great


demo.gmcvodatabases.org.uk/phq9/810
Posted by Richard on 10th March 2017
Hi there,

In what browser are you seeing that? The function is in RGraph.svg.common.core.js and I looked at your example in Chrome, Firefox and IE11 and none reported the eroor to the console.




Richard
Posted by pheo de Montford on 10th March 2017
Hi,

after sending the message I updated the core file and it worked, I was using a version from the last time I download the source,

Many thanks

Pheo

Add a reply




« Back to message list