The prototypal JavaScript object model

Written by Richard, on 19th December 2015

A new article is available that explores the JavaScript object model and explains the various options that you have when using it.

It only talks about the ES5, functional style of object-oriented programming and does not explain the new ES6 classes that are now available.

How does this apply to RGraph?

In order to keep compatibility with older browsers that may not support newer JavaScript features (ie the newer syntax for defining classes) all of the RGraph objects are defined using this style of object definition.

So understanding how JavaScript objects are defined and used will help you when you're working with RGraph.

https://www.rgraph.net/blog/objects.html