Skip to content

Conversation

@Joelius300
Copy link
Contributor

Adds the two main properties for plugins.

fixes #63

Currently only the plugin options really make sense, the plugin implementations aren't really helpful when serialized from C#. We could however add a base class for plugins where you can assign methods with the hooks but that would require some additional code in the interop-layer and is only really feasible after #70. That would mean a class that has all the hooks as IMethodHandler properties which are respected on the interop level. This way you could write C# only plugins for chart.js (what madness) but that's an issue for another day.

I have also improved some summaries on the fly just because I was in those classes. In general we don't want to change anything other than what we're actively working on but this is so minor that I thought it makes sense.

@Joelius300 Joelius300 merged commit b4acd70 into master Mar 28, 2020
@Joelius300 Joelius300 deleted the feature/support-plugins branch March 28, 2020 20:09
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.

Ability to add plugins to chart options

2 participants