-
Notifications
You must be signed in to change notification settings - Fork 377
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
MultibarHorizontal Chart controls and legends not working as expected #23
Comments
Can you show me your js and html code? |
html code is: and controller has the following code:
|
My bower.json has these dependencies
|
The "x" and "y" function definition don't match with data.
|
oh my bad - even after that the control don't work as expected. |
it is working in plunker) |
:) no worries i will debug it out to see whats happening. |
Found the issue - it isn't related to the directive or any of the nvd3, d3 code. nvd3 adds a disabled class over the control, legend that is clicked to act as a toggle. I had a disabled class in my css that was disabling the pointer-events which was causing all the issues. I fixed it up and things are working as expected. |
I am using the 0.0.8 version of the directive. The controls - stacked and grouped options aren't working as expected. The graph by default shows up in grouped and stacked option is always disabled. It works if i pass stacked:true in options but then grouped gets disabled.
Legends have same kind of behaviour - I can only click on the legend once - ti doesn't work like toggle as in your examples on plunker. Any idea what could be the issue?
The text was updated successfully, but these errors were encountered: