MENU
.net Powerful JavaScript charts
About
RGraph is a JavaScript charts library based on HTML5 SVG and canvas. RGraph is mature (over 18 years old) and has a wealth of features making it an ideal choice to use for showing charts on your website.

More »

 

Version 7.20
Version 7.20 (released in June 2026) is the latest version of RGraph and the major change in this version is an update to the default values of properties making for better looking charts without having to set any properties. Read more about this and other changes in the changelog.

Download »

 

Download
Get the latest version of RGraph (version 7.20, 9th June 2026) from the download page. You can read the changelog here. There's also older versions available, minified files and links to cdnjs.com hosted libraries.

Download »

 

Latest forum posts
These are the latest support forum posts that have been posted or updated.


16th June, Rachel
I have a question about the 3D Bar chart
12th June, Marco
Should I use SVG or canvas for the charts on my website?
9th June, Richard
New version of RGraph: version 7.20
3rd June, Patrick
Question about installing RGraph
1st June, Ouja
How do I add a click event to a bar in my Bar chart?


Support forum »

 

License
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 »

What are the updated versions of these property names?


Posted by Todd Shafer at 13:24 on Friday 18th March 2022 [link]
Hello, I updated to the newest version of your code. I've been able to find and replace most things but not sure about some. I was using "labelsAboveUnitsPost" in one of my graphs, which doesn't seem to be in your new code. What should I use in its place? Also, what do I replace these with: "yaxisUnitsPost", "hmargin", "yaxisMin", "colorsStroke", "keyTextSize"? Thank you.

Posted by Richard at 18:14 on Friday 18th March 2022 [link]
Here are the updated versions of the property names:

labelsAboveUnitsPost:

This one is unchanged. Here's an example:

https://codepen.io/rgraph/pen/zYpqqYg

yaxisUnitsPost:

This one is now called yaxisScaleUnitsPost

hmargin:

This one is now called marginInner

yaxisMin:

This one is now yaxisScaleMin

colorsStroke:

This one depends on which type of chart you're using. For the Line chart the property name for the colors of the lines is just colors.

keyTextSize:

This one is now called keyLabelsSize

[Replies are closed]