[RGRAPH SUPPORT] Error when trying to use the responsive() function

Error when trying to use the responsive() function

Post a reply
Posted by Rei on 08:00 18th March 2021
0


I want to add a responsive for my Chart using RGraph Library, the problem is every time I'm using a responsive() method (from the library) https://www.rgraph.net/canvas/responsive.html

this error message always shows up, and the chart won't render as usual (before adding a responsive method my chart works well)

Uncaught TypeError: (intermediate value).draw(...).responsive is not a function


.draw().responsive([
            {
                maxWidth: 321,
                options: {
                    xaxisLabels: ['Test', 'Junior \n Management', 'Senior \n Management', 'All Employees']
                }
            }
        ]);

Posted by Richard on 10:17 18th March 2021
What's the whole source code? And is the page online?

Also, are you using at least version 5.11?

Post a reply

What's your name?
What do you want to say?