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

Add chart, p0.raw, p1.raw to segment context #9761

Merged
merged 3 commits into from Oct 15, 2021

Conversation

kurkle
Copy link
Member

@kurkle kurkle commented Oct 13, 2021

Closes #9692

Additionally move context creation to a helper function to remove duplication.

The parsed is removed from points when there are no segments, this could be considered breaking. Its not documented or advertised in other contexts though. It was introduces by #8844 and has been available since v3.1 (~6 months)

Another notable thing is the null prototype for chart context. It was that way in beta, but was removed by #8413 (v3.0).

etimberg
etimberg previously approved these changes Oct 13, 2021
src/helpers/helpers.options.js Show resolved Hide resolved
etimberg
etimberg previously approved these changes Oct 13, 2021
@etimberg
Copy link
Member

There's a conflict that needs a rebase here. Hopefully that also fixes the CI

@etimberg etimberg added this to the Version 3.6.0 milestone Oct 15, 2021
@etimberg etimberg merged commit 6a250de into chartjs:master Oct 15, 2021
@kurkle kurkle deleted the segment-context-update branch June 29, 2022 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable line segment point styles override by scriptable options in the segment object
2 participants