Skip to content

Conversation

@The-Smallest
Copy link
Contributor

Added 'borderSkipped' parameter to Rectangle, it controls which border to exclude.

@etimberg
Copy link
Member

@The-Smallest this looks great. Do you think it be beneficial to also support multiple borders being excluded?

@The-Smallest
Copy link
Contributor Author

Not sure about multiple borders exclusion. (Can't really find use-case for it).
But I think that borderSkipped: 'none' could be useful. (Example: bar-chart without x-axis).

etimberg added a commit that referenced this pull request Mar 13, 2016
Generic Rectangle: any border (botton, left, top, right) can be skipped now.
@etimberg etimberg merged commit e511fc2 into chartjs:v2.0-dev Mar 13, 2016
@etimberg
Copy link
Member

Yeah, I couldn't think of a use-case either. Just wanted to make sure everything was covered 😛

Thanks for the PR!

@The-Smallest The-Smallest deleted the v2-rectangle-generic branch March 13, 2016 19:00
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.

2 participants