The prototypal JavaScript object model
Written by Richard Heyes, RGraph author, 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.