--
You received this message because you are subscribed to the Google Groups "dc-js user group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dc-js-user-gro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dc-js-user-group/85ada40f-d8c0-43f1-9963-25bbb5fe36e0%40googlegroups.com.
It looks like the library dc-wordcloud which you are using does not have support for selections built in. You'd have to either modify the library or add a click handler after the chart has rendered. Something like (untested):wordcloudChart.on(‘pretransition’, function(chart) {chart.selectAll(‘text’).on(‘click’, function(d) {wordDim.filter(d.text);dc.redrawAll();});});
Hi I am new to dc.js. I am implementing word cloud with the bar chart using crossfilter.--My problem is when I am selecting bar chart it shows respective data in cloud but I am unable to select cloud data so it will show on bar.Here is my code.Please help me .
You received this message because you are subscribed to the Google Groups "dc-js user group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dc-js-user-group+unsubscribe@googlegroups.com.
function checkSize(d){
var x = 0;
if(d.value <= 0) {
x = 0
} else {
x = Math.log(d.value)*_chart.relativeSize();
}
return x;
}
which makes sense, to log-scale the sizes.
But log(1) == 0 so I think you'll need to change the code. And please, when you do, submit a PR or issue with the author and say thanks!
To unsubscribe from this group and stop receiving emails from it, send an email to dc-js-user-gro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dc-js-user-group/57f5691d-c7cd-453c-84f7-fb7b4a59f22b%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to dc-js-user-gro...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dc-js-user-group/85ada40f-d8c0-43f1-9963-25bbb5fe36e0%40googlegroups.com.