sgvizler.charts.Chart Class
Inner class which all chart types created by sgvizler.charts inherit from, i.e., don't create new charts from this class, but use sgvizler.charts.create() instead.
Constructor
sgvizler.charts.Chart
(
-
container
Parameters:
-
containerObjectThe container element where the chart will be drawn.
Item Index
Methods
Methods
addListener
(
public
-
name -
func
Add a function which is to be fired when the
listener named name is fired.
See fireListener
Example:
addListener("ready", function () { console.log("Ready!") });
fireListener
(
public
-
name
Fires (runs, executes) all functions registered
on the listener name.
See addListener.
Parameters:
-
nameStringThe name of the listener.
