question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't filter a series chart synchronously?

See original GitHub issue

@esjewett and moooeeeep’s jsfiddle illustrates a couple of problems with the series chart.

First, composite keys make filtering pretty annoying. There’s a contradiction between how you want to group the data for display, and what you need to tell the dimension to filter. I think one would either need to use two dimensions, one for grouping and one for filtering, or just use the dimension you want to filter on, and do a much fancier reduce.

That’s the normal frustration of trying to cram extra dimensions (in the real-world definition) into crossfilter. But why does this also require a setTimeout(0, dc.redrawAll)?

https://jsfiddle.net/gordonwoodhull/orcsut1h/

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gordonwoodhullcommented, May 3, 2017

Hi @crash21! This doesn’t seem to have anything to do with the issue described here.

Sorry, but the issue tracker is for reporting bugs and making enhancement requests, not for general support questions. Please ask on Stack Overflow with the dc.js tag, or on the user group, and we will be glad to help you there.

When you do, please provide a little more detail about what you expect and what happens instead. Thanks!

EDIT: Ah, I see you did ask on SO. Thanks! http://stackoverflow.com/questions/43764962/dcjs-series-chart-multi-line

0reactions
ndoulgeridiscommented, May 3, 2017

Thanks @gordonwoodhull and sorry, It’s on stack-overflow now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filters not syncing between tabs - Microsoft Power BI Community
Solved: Hello: I am not able to sync my filters: I have two tabs in my report. Left hand side report and right...
Read more >
Excel Charts - three methods for filtering Chart Data - YouTube
Filtering data in Excel charts is easy to do. The method you use should be based on the amount of data you have....
Read more >
Excel Magic Trick 1215: Filter Data Set & Chart Disappears
Your browser can't play this video. Learn more. Switch camera.
Read more >
how to synchronise value filter selection from chart to the filter ...
I have a dashboard with bar and map charts with filters at the top . I am using the bar chart as filter...
Read more >
Level 2 Sprint 3 Combination Chart time sync unavailable
My Combination Chart isn't refreshing when I untick the Planning Period Filter line item in SYS00 Time Settings by Month. I can't understand ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found