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

 

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

 

License
RGraph can be used for free under the GPL or if that doesn't suit your situation there's an inexpensive (£99) 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 now closed]