Reputation: 453
I am looking for using chartGroup attribute of dc.js with dc.redrawAll(groupName).
I am not able to find any example for this I tried as follow
chart
.chartGroup("group1")
.height(ht)
.dimension(dim)
.group(grp)
dc.redrawAll("group1")
E.g. in following js fiddle http://jsfiddle.net/Bra2H/72/ in filter1 funcition If I try
dc.redrawAll("group1");
//dc.redrawAll();
It won't work.
Upvotes: 2
Views: 960
Reputation: 453
I got it
So I have to explicitly called dc.registerChart to associate group
dc.registerChart(hitslineChart,"group1")
It did the trick.
Upvotes: 1