Joelius300 / ChartJSBlazor

This library is a modification of the awesome ChartJs.Blazor library by mariusmuntean. It's supposed to add more functionality to the LineChart and generally make the library more complete.
Other
40 stars 6 forks source link

Support callbacks #55

Closed SeppPenner closed 5 years ago

SeppPenner commented 5 years ago

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...

Joelius300 commented 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.

SeppPenner commented 5 years ago

Sure, I just wanted to say that this feature is something really needed. (I need it at least 🏃).

SeppPenner commented 5 years ago

Will be tracked by https://github.com/mariusmuntean/ChartJs.Blazor/issues/41 after the merge.