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

Move interaction object at top level of plugin options #736

Merged
merged 1 commit into from
May 19, 2022
Merged

Move interaction object at top level of plugin options #736

merged 1 commit into from
May 19, 2022

Conversation

stockiNail
Copy link
Collaborator

The interaction object has been moved at top level of plugin options, instead of common object as implemented by PR #630.

This is because the interaction is not configurable at annotation instance but is a plugin configuration, like clip one.

@stockiNail stockiNail added this to the 2.0.0 milestone May 16, 2022
Copy link
Member

@kurkle kurkle left a comment

Choose a reason for hiding this comment

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

Not sure if this has an impact on the resolution of options, but probably not,

@stockiNail
Copy link
Collaborator Author

Not sure if this has an impact on the resolution of options, but probably not,

I don't think so because interaction can not be set at annotation level, like clip.

@stockiNail stockiNail merged commit ed84a72 into chartjs:master May 19, 2022
@stockiNail stockiNail deleted the fiInteractionSample branch May 19, 2022 18:50
@stockiNail
Copy link
Collaborator Author

Not sure if this has an impact on the resolution of options, but probably not,

@kurkle I have tested locally (even if I was almost sure) that interaction is falling back to chart options interaction if missing.

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

Successfully merging this pull request may close these issues.

None yet

2 participants