MCPcopy
hub / github.com/dc-js/dc.js / group

Method group

src/base/base-mixin.js:340–348  ·  view source on GitHub ↗

* **mandatory** * * Set or get the group attribute of a chart. In `dc` a group is a * https://github.com/crossfilter/crossfilter/wiki/API-Reference#group-map-reduce crossfilter group. * Usually the group should be created from the particular dimension associated with the

(group, name)

Source from the content-addressed store, hash-verified

338 * @returns {crossfilter.group|BaseMixin}
339 */
340 group (group, name) {
341 if (!arguments.length) {
342 return this._group;
343 }
344 this._group = group;
345 this._groupName = name;
346 this.expireCache();
347 return this;
348 }
349
350 /**
351 * Get or set an accessor to order ordinal dimensions. The chart uses

Callers 15

stock.jsFile · 0.45
startOrdinalFunction · 0.45
env-data.jsFile · 0.45
row-chart-spec.jsFile · 0.45
buildRangeChartFunction · 0.45
heatmap-spec.jsFile · 0.45
legend-spec.jsFile · 0.45
buildPieChartFunction · 0.45

Calls 1

expireCacheMethod · 0.95

Tested by

no test coverage detected