futuredapp / donut

Doughnut-like graph view capable of displaying multiple datasets with assignable colors
MIT License
546 stars 46 forks source link

First DonutSection #61

Closed va-utils closed 5 days ago

va-utils commented 3 years ago

The first section always occupies more, another section of similar amount. Can I change that somehow? Thank you earlier.

matejsemancik commented 3 years ago

Hi, If I understand correctly, the appearance you are describing is caused by rounded stroke cap of DonutSection line when set to DonutStrokeCap.ROUND. We currently do not account for stroke cap width when rendering sections, so -- right now, unfortunately no, you cannot change that. We can look into that in future releases.

va-utils commented 3 years ago

Thanks

matejsemancik commented 5 days ago

This behavior was fixed in https://github.com/futuredapp/donut/pull/103