Closed SeppPenner closed 5 years ago
There currently is support for OnClick
and OnHover
for Legend
(See here).
However I don't know if those still work as a lot of stuff around this subject has changed. It is a good start and we can use it to further implement the handlers. We'd also need to implement classes for the items that are passed into the function.
This is a big feature but very desirable. However, I think we should focus on reworking all charts first. At least fix all mistakes we can find and add XML-docs. After that we can really focus on new (big) features like this.
Sure, I just wanted to say that this feature is something really needed. (I need it at least 🏃).
Will be tracked by https://github.com/mariusmuntean/ChartJs.Blazor/issues/41 after the merge.
Describe the feature request
We should somehow make it possible to support callbacks (e.g. https://www.chartjs.org/docs/latest/configuration/tooltip.html#tooltip-callbacks).
Which Blazor project type is your feature request related to?
Describe the solution you'd like
Support for callbacks if possible. (I don't have an idea yet how to support them...