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

Initial implementation of onclick on bar chart. #25

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

muqeet-khan
Copy link
Owner

There are still some issues that will need to be resolved. For example, currently, the chart reanimates on click. I am not really sure why.

clickedValue += $"Dataset Index: {item.DatasetIndex}, Index: {item.Index} ";
}
}
StateHasChanged();
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

StateHasChanged() is necessary at this point. Took an hour to figure it out. 😃

@@ -1 +1,2 @@
@layout MainLayout
@using System.Collections.Generic;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I don't need this. This was part of a frantic "Why isn't this working?" 1 hour

@muqeet-khan
Copy link
Owner Author

BTW, this is also fixes #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant