Simplify graph creation

Simplify graph creation

Overview

The js/math/graph.js file has been modified. The function load has been removed, and the method addPoint has been added.

File wise changes made

js/math/graph.js

  • Removed the static method load.
  • Added the method addPoint.

Summary

  • In the file js/math/graph.js, the static method load() was removed, and a new method addPoint() was added.