tremorlabs / tremor

React components to build charts and dashboards
https://npm.tremor.so
Apache License 2.0
16.19k stars 465 forks source link

[Question]: How can I increase the thickness of the donuts pie charts ? #1089

Closed lewis-ab closed 4 months ago

lewis-ab commented 4 months ago

I've tried adding the stroke-width of the svgs inside the component using custom css but it's not working.

Any suggestion please

severinlandolt commented 4 months ago

Hi! This is not possible with the Tremor Package. This won't change until the next major release.

However, I created a donut chart in our copy and paste library. You can find it here: https://github.com/tremorlabs/tremor-raw/blob/feat/donut-chart/src/components/DonutChart/DonutChart.tsx

There you have full control over the donut shape.

More about Tremor Raw here: https://raw.tremor.so/docs/getting-started/installation