dc.js icon indicating copy to clipboard operation
dc.js copied to clipboard

Filter on year ==> month ==> day ==> hours ? Datatables integration ?

Open pdaems opened this issue 13 years ago • 1 comments

For my project i need to be able to monitor calls on year, month, day, hours. Is this possible within dc.js to filter on hours of a day aswell ?

Im currently doing this by using a pie chart that displays each hour is their another way to filter on hours without having to use a pie chart ?

Also would it be possible to filter the datatable based on the columns like http://datatables.net/release-datatables/examples/api/multi_filter.html does. Would be nice to see this together with dc.js. So when you filter on the datatable that also the charts get filtered based on the table.

Thanks in advance !

pdaems avatar Mar 22 '13 09:03 pdaems

Since hours are sequential numbers you can always visualize it using a line/bar chart while having hours on x axis or even bubble chart of 24 bubbles if that makes sense. In the coming v1.3 release we are adding a row chart (horizontal bar chart) as well.

For data table you can use its filter event listener to handle user's key stroke then filter the dimension accordingly.

NickQiZhu avatar Mar 25 '13 14:03 NickQiZhu