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:
-
container
ObjectThe 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:
-
name
StringThe name of the listener.