Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

two charts on the same dimension (sharing a filter) #595

Open
skazgan opened this issue May 14, 2014 · 5 comments
Open

two charts on the same dimension (sharing a filter) #595

skazgan opened this issue May 14, 2014 · 5 comments
Milestone

Comments

@skazgan
Copy link

skazgan commented May 14, 2014

Please see: http://jsfiddle.net/5c58X/

In the above example, there is a bubble plot and a row chart which use same dimension. Since they use the same dimension, I used 'renderlet' function to provide the filtering between the two charts. When I select a bubble from bubble chart, row chart filters same product. However, when I select a product from row chart, bubble chart does nothing. I have tried same code with dc.js version 1.3.0, it works but since the new properties does not work with that old version, I do not want to use 1.3.0.

If you can help me to solve that problem, that would be great.

Thanks.

@gordonwoodhull
Copy link
Contributor

Why don't you just use two copies of the dimension as recommended?

@skazgan
Copy link
Author

skazgan commented May 20, 2014

When I use two copies of the dimension and filter from one chart, in the other chart only the filtered product is shown and all others disappears. What I want is to see the filtered product colored and all others shaded. For example, when I click on a product name from row chart, I want to see that product in bubble chart highlighted and all others shaded.

@gordonwoodhull
Copy link
Contributor

Sounds reasonable. I can definitely say this is not supported now but would be nice.

Did you find a workaround?

@gordonwoodhull gordonwoodhull reopened this Jun 4, 2014
@gordonwoodhull gordonwoodhull changed the title filtering is not working between bubble plot and row chart two charts on the same dimension (sharing a filter) Jul 6, 2014
@gordonwoodhull
Copy link
Contributor

retitled accordingly

@gordonwoodhull
Copy link
Contributor

#682 demonstrates this for bar charts. I plan to generalize this for 2.0, as it should also solve the problems with brushing composite charts #390.

@gordonwoodhull gordonwoodhull added this to the v2.0 milestone Nov 30, 2014
@gordonwoodhull gordonwoodhull modified the milestones: v2.1, v2.0 Mar 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants