MENU
.net Powerful JavaScript charts

Question about installing RGraph


Posted by Patrick at 11:20 on Tuesday 2nd June 2026 [link]
I need help installing RGraph, how do I install Rgraph?

Where do I find the npm install command?

Thanks

Posted by Richard at 17:54 on Tuesday 2nd June 2026 [link]
There's no npm package available because there doesn't really need to be one. You could probably get away with just two files if you just wanted a simple, straightforward chart: the chart-type file (eg the RGraph.bar.js file) and the core library (the RGraph.common.core.js file).

You can download the RGraph zip archive (which contains everything that you need) and extract it to a directory on your web server (or locally if that's what you want). You can get that from the download page:

https://www.rgraph.net/download.html#stable

Then there's comprehensive setup documentation available here to help you get up and running with your first chart:

https://www.rgraph.net/install/starting.html

After you get a chart up and running, you'll probably want to tailor it to your own tastes, so there's API documentation available here that details all of the configuration options:

Canvas: https://www.rgraph.net/canvas/charts.html
SVG: https://www.rgraph.net/svg/index.html#available-chart-types-and-option-references

The full documentation is available here:

Canvas: https://www.rgraph.net/canvas/index.html
SVG: https://www.rgraph.net/svg/index.html

If you have any further questions please come back to me here.

Richard

Posted by Patrick at 21:48 on Tuesday 2nd June 2026 [link]
is there a full page example availabld?

Posted by Richard at 10:14 on Wednesday 3rd June 2026 [link]
There are lots of "single page" examples of charts in the download archive that you get from the download page that's linked above.

These pages have minimal HTML in them and minimal JavaScript to help show what's needed to create the chart.

They all work "out of the box" when you extract the archive to a directory on your computer to make it easy to get them up and running and show the code that's necessary without you having to view the source in your browser.

[Replies are closed]