Hello,
Following several proposals, I am trying to create a rowchart to filter items linked to several tags.
I want to filter data which have one or several selected tags, inside a rowchart counting them.
var data = [
{id:1, tags: [1,2,3]},
{id:2, tags: [3]},
{id:3, tags: [1]},
{id:4, tags: [2,3]},
{id:5, tags: [3]},
{id:6, tags: [1,2,3]},
{id:7, tags: [1,2]}
];
It mainly works, as it can be seen here :
Nevertheless, I am unable to update the rowchart when a tag is selected. For example, if I filter the data by clicking on the '2' tag, I would like to have the rowchart modified, with '1' and '3' tags lowered to 3...
I think it comes from the fact that crossfilter doesn't update the grouping of the charts doing the filtering, and I would like to force it to update.
Does it sound possible ?
Thanks.
Olivier