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

New fill modes for lines #3460

Merged
merged 4 commits into from
Oct 14, 2016
Merged

New fill modes for lines #3460

merged 4 commits into from
Oct 14, 2016

Conversation

etimberg
Copy link
Member

Allows the user to customize how the line fills.

A new fillMode property configures this. It defaults to 'zero' which matches the current behaviour. It can also be set to 'top' or 'bottom'.

Top Mode

screen shot 2016-10-11 at 9 20 15 pm

Bottom Mode

screen shot 2016-10-11 at 9 19 26 pm

Fixes #3176

@simonbrunel
Copy link
Member

Looks good but just thinking: do we really need a new option?

fill: true|false|'zero'|'top'|'bottom'

fill: true would an alias to fill: 'zero'

@etimberg
Copy link
Member Author

I can condense down to a single option

@etimberg
Copy link
Member Author

@simonbrunel updated to use a single option

@etimberg etimberg merged commit f8e90b1 into master Oct 14, 2016
@etimberg etimberg deleted the line-fill-modes branch October 14, 2016 11:19
@simonbrunel simonbrunel added this to the Version 2.4 milestone Oct 14, 2016
exwm pushed a commit to exwm/Chart.js that referenced this pull request Apr 30, 2021
New fill modes for lines allowing the user to customize where the fill goes to
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.

None yet

2 participants