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

feat: Partial donut or pie chart #494

Closed

Conversation

gitstart
Copy link
Contributor

@gitstart gitstart commented Jun 2, 2023

Demo

Loom Video: https://www.loom.com/share/7fa1765cc095433e90b10558a773da16

Related Issue

Fixes #474

What

Add props to the user customize the donuts/pies

Why

to be possible to set custom angles to this component

How

Set the props startAngle and percentage as values passed by the user

Testing

run:

npm run storybook
  • Go to ChartElements/DonutChart

  • Go to "Custom Size Template" and change the props startAngle


This code was written and reviewed by GitStart Community. Growing great engineers, one PR at a time.

Co-authored-by: Rafael Toledo <[email protected]>
Co-authored-by: root <root@DESKTOP-IBCJMH9>
@gitstart gitstart changed the title feat: Partial donut or pie chart (TRMR-OSS-38) feat: Partial donut or pie chart Jun 2, 2023
@gitstart gitstart marked this pull request as ready for review June 2, 2023 12:04
@gitstart
Copy link
Contributor Author

gitstart commented Jun 2, 2023

Hey @mitrotasios! Could you kindly review this PR, please?

@mitrotasios mitrotasios added the Type: Feature New feature for existing component label Jun 3, 2023
@mitrotasios
Copy link
Contributor

Thanks for this, will review after v3 :)

@gitstart gitstart force-pushed the feat/add-partial-donut-component branch 3 times, most recently from 1717409 to 07d9579 Compare June 12, 2023 20:28
Co-authored-by: Rafael Toledo <[email protected]>
Co-authored-by: root <root@DESKTOP-IBCJMH9>
@gitstart gitstart force-pushed the feat/add-partial-donut-component branch from 07d9579 to 8a88b38 Compare June 12, 2023 20:31
@gitstart
Copy link
Contributor Author

Hello @mitrotasios. Hope you are well.
Since we're already on version 3, could you review this PR?
It would be really interesting if you could review these other two features as well.
#486 #484
Thank you. 👋

@severinlandolt
Copy link
Member

Cf. #474

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature New feature for existing component
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Partial donut or pie chart
3 participants