RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 15 years old) and has a wealth of features making it an ideal choice to show charts on your website.

More »


Get the latest version of RGraph (version 6.17) from the download page. There's also older versions available, minified files and links to cdnjs.com hosted libraries.

More »


RGraph can be used for free under the GPL or if that doesn't suit your situation there's an inexpensive (£129) commercial license available.

More »

Error when trying to use the responsive() function

Posted by Rei at 08:00 on Thursday 18th March 2021 [link]

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

                maxWidth: 321,
                options: {
                    xaxisLabels: ['Test', 'Junior \n Management', 'Senior \n Management', 'All Employees']

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

Also, are you using at least version 5.11?

[Replies are now closed]