sgvizler.visualization.DefList Class
Make a html dt list.
Format, 2--N columns: 1. Term 2--N. Definition
Constructor
sgvizler.visualization.DefList
(
-
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!") });
draw
(
public
-
data
-
[chartOptions]
Available options:
- 'cellSep' : string (can be html) to separate cells in definition columns. (default: ' ')
- 'termPrefix : string (can be html) to prefix each term with. (default: '')
- 'termPostfix : string (can be html) to postfix each term with. (default: ':')
- 'definitionPrefix : string (can be html) to prefix each definition with. (default: '')
- 'definitionPostfix : string (can be html) to postfix each definition with. (default: '')
Parameters:
-
data
google.visualization.DataTable -
[chartOptions]
Object optional
fireListener
(
public
-
name
Fires (runs, executes) all functions registered
on the listener name
.
See addListener
.
Parameters:
-
name
StringThe name of the listener.