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
Comments
Why don't you just use two copies of the dimension as recommended? |
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. |
Sounds reasonable. I can definitely say this is not supported now but would be nice. Did you find a workaround? |
retitled accordingly |
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.
The text was updated successfully, but these errors were encountered: