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

Method renderGroup

src/base/base-mixin.js:829–842  ·  view source on GitHub ↗

* Renders all charts in the same group as this chart. If the chart has a * BaseMixin.commitFilter commitHandler, it will be executed and waited for * @returns {BaseMixin}

()

Source from the content-addressed store, hash-verified

827 * @returns {BaseMixin}
828 */
829 renderGroup () {
830 if (this._commitHandler) {
831 this._commitHandler(false, (error, result) => {
832 if (error) {
833 console.log(error);
834 } else {
835 renderAll(this.chartGroup());
836 }
837 });
838 } else {
839 renderAll(this.chartGroup());
840 }
841 return this;
842 }
843
844 _invokeFilteredListener (f) {
845 if (f !== undefined) {

Callers 1

legendToggleMethod · 0.80

Calls 2

chartGroupMethod · 0.95
renderAllFunction · 0.90

Tested by

no test coverage detected