dc-js / dc.js

Multi-Dimensional charting built to work natively with crossfilter rendered with d3.js
Apache License 2.0
7.41k stars 1.81k forks source link

Current filters and save/restore widgets #1798

Closed kum-deepak closed 3 years ago

kum-deepak commented 3 years ago

After running grunt server go to http://localhost:8888/web/examples/current-filters.html. This example uses stock.js as is (this meant copying ndx.json).

This demonstrates two capabilities:

Current filters widget

Saved filter states

Currently experimental; will proceed based on feedback.

gordonwoodhull commented 3 years ago

This is neat!

Do you think it would be worthwhile to make a reusable widget out of the Current Filters display? The Saved Filter States is probably just for the demo, but I imagine people will want the Current Filters widget, and that's a fair amount of code to copy/paste.

kum-deepak commented 3 years ago

I am not going to merge this as of now. Before the final release, the current filters would be created as a widget.

kum-deepak commented 3 years ago

I decided to merge this. Keeping too many open PRs is not great - I realized the hard way :smile: