dc.js - Is it possible to exclude graph from a few but not all filters? -


i exclude linechart updating if filter using pie-chart-1 update if filter using pie-chart-2.

hopefully makes sense, if not jsfiddle sorted show example having problem getting onto site.

many thanks.

i assume pie charts dont filter each other out well. in case can assign separate dc render events chart sets want filter. assuming have piechart1, piechart2, linechart1, linechart2 , want linechart1 update on selecting piechart1 slice , piechart2 - linechart2 combo.

define charts , give charts same filtering same render event name.

var piechart1 = dc.piechart("#pie1", "filterview1"); var linechart1 = dc.linechart("#line1", "filterview1");  var piechart2 = dc.piechart("#pie2", "filterview2"); var linechart2 = dc.linechart("#line2", "filterview2"); 

and after defining chart properties, call 2 separate render events

dc.renderall("filterview1"); dc.renderall("filterview2"); 

this way can make own render groups custom filtering.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -