What are the updated versions of these property names? - Official support forum | RGraph.net

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]