tremor icon indicating copy to clipboard operation
tremor copied to clipboard

feat: Partial donut or pie chart

Open gitstart opened this issue 1 year ago • 2 comments

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.

gitstart avatar Jun 02 '23 11:06 gitstart

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

gitstart avatar Jun 02 '23 12:06 gitstart

Thanks for this, will review after v3 :)

mitrotasios avatar Jun 03 '23 13:06 mitrotasios

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. :wave:

gitstart avatar Jul 12 '23 19:07 gitstart

Cf. #474

severinlandolt avatar Oct 23 '23 15:10 severinlandolt