-
Notifications
You must be signed in to change notification settings - Fork 0
The entire dc.js library is scoped under dc name space. It does not introduce anything else into the global name space.
Base chart is an abstract functional object representing a basic dc chart object for all chart and widget implementation. Every function on base chart are also inherited available on all concrete chart implementation in dc library.
Set or get width attribute of a chart. If the value is given, then it will be used as the new width and a reference to the current chart instance will be returned to allow function chaining.
If no value specified then value of the current width attribute will be returned.
Set or get height attribute of a chart. If the value is given, then it will be used as the new height and a reference to the current chart instance will be returned to allow function chaining.
If no value specified then value of the current height attribute will be returned.
Set or get dimension attribute of a chart. In dc a dimension can be any valid crossfilter dimension. If the value is given, then it will be used as the new dimension and a reference to the current chart instance will be returned to allow function chaining.
If no value specified then the current dimension will be returned.
Set or get group attribute of a chart. In dc a group is a crossfilter group. Usually the group should be created from the particular dimension associated with the same chart. If the value is given, then it will be used as the new group and a reference to the current chart instance will be returned to allow function chaining.
If no value specified then the current group will be returned.