Skip to content

feature: allow selecting round or square line cap on line charts#1126

Merged
gitbrent merged 1 commit intogitbrent:masterfrom
spinozapps:feature/line-chart-cap
Jan 23, 2023
Merged

feature: allow selecting round or square line cap on line charts#1126
gitbrent merged 1 commit intogitbrent:masterfrom
spinozapps:feature/line-chart-cap

Conversation

@mathbruyen
Copy link
Contributor

Makes both the line and its legend having one of:

  • flat line cap: ends with a straight line exactly at the end point
  • rounded line cap: ends with a semi circle centred at the end point
  • square line cap: ends with a straight line past end point by 1/2 of line width

Default is flat to preserve current behaviour.

@gitbrent gitbrent self-assigned this Aug 9, 2022
@gitbrent gitbrent added this to the 3.12.0 milestone Aug 9, 2022
@mathbruyen mathbruyen force-pushed the feature/line-chart-cap branch from 840b8a7 to 968e78b Compare October 27, 2022 15:12
@mathbruyen mathbruyen force-pushed the feature/line-chart-cap branch from 968e78b to 220ec2b Compare November 3, 2022 09:22
@gitbrent gitbrent merged commit 220ec2b into gitbrent:master Jan 23, 2023
@gitbrent
Copy link
Owner

Thanks @mathbruyen !

gitbrent added a commit that referenced this pull request Jan 23, 2023
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