Methods
-
clear(group)
-
Clear given group if one is provided, otherwise clears all groups.
Parameters:
Name Type Description group
String Group name
- Source:
Returns:
- Type
- undefined
-
deregister(chart [, group])
-
Remove given chart instance from the given group, creating the group if necessary. If no group is provided, the default group
constants.DEFAULT_CHART_GROUP
will be used.Parameters:
Name Type Argument Description chart
Object dc.js chart instance
group
String <optional>
Group name
- Source:
Returns:
- Type
- undefined
-
has(chart)
-
Determine if a given chart instance resides in any group in the registry.
Parameters:
Name Type Description chart
Object dc.js chart instance
- Source:
Returns:
- Type
- Boolean
-
list( [group])
-
Get an array of each chart instance in the given group. If no group is provided, the charts in the default group are returned.
Parameters:
Name Type Argument Description group
String <optional>
Group name
- Source:
Returns:
- Type
- Array.<Object>
-
register(chart [, group])
-
Add given chart instance to the given group, creating the group if necessary. If no group is provided, the default group
constants.DEFAULT_CHART_GROUP
will be used.Parameters:
Name Type Argument Description chart
Object dc.js chart instance
group
String <optional>
Group name
- Source:
Returns:
- Type
- undefined