d3.js - dc.js - how to get chart.chartGroup to put the chart in the group -


http://dc-js.github.io/dc.js/

i looking using chartgroup attribute of dc.js dc.redrawall(groupname).

i not able find example tried 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 try

dc.redrawall("group1"); //dc.redrawall(); 

it won't work.

i got

http://jsfiddle.net/bra2h/73/

so have explicitly called dc.registerchart associate group

dc.registerchart(hitslinechart,"group1") 

it did trick.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -