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

[Documentation] Plugin API Hooks #4905

Closed
smcguinness opened this issue Oct 30, 2017 · 1 comment · Fixed by #8634
Closed

[Documentation] Plugin API Hooks #4905

smcguinness opened this issue Oct 30, 2017 · 1 comment · Fixed by #8634

Comments

@smcguinness
Copy link

smcguinness commented Oct 30, 2017

The hardest thing I'm encountering while trying to write a plugin to modify a bar chart is to know what hooks I should be doing the changes in. For example, if I wanted to edit the value of the chart, I can do that in beforeUpdate, however I can't do that in afterDraw.

I'm sure there are even more nuances that I am missing in each individual hook beside just when the hook is called. It'd be a great help in that part of the documentation.

@etimberg
Copy link
Member

@smcguinness good idea. I think we should create a flow chart of the create / update / render process to document where the hooks come in

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

Successfully merging a pull request may close this issue.

3 participants