kestra-io / kestra

:zap: Workflow Automation Platform. Orchestrate & Schedule code in any language, run anywhere, 500+ plugins. Alternative to Zapier, Rundeck, Camunda, Airflow...
https://kestra.io
Apache License 2.0
11.01k stars 948 forks source link

Align the pie chart labels when there are many states to display #5578

Open anna-geller opened 5 days ago

anna-geller commented 5 days ago

Describe the issue

When there are too many state labels to display, the donut chart labels take too much space image

We should adjust the font to fit all states within the regular size of the chart

Environment

DVUN716 commented 5 days ago

@anna-geller I'd like to try this! Do you want to skip a few ui or do you want it to stretch when clicked?

anna-geller commented 5 days ago

@DVUN716 Thanks a lot, you are assigned! I was thinking about perhaps adjusting the font size of the States legend to make it fit? or stretching and stacking beneath each other... Feel free to give it a try and see what looks nice 👍

do you need a couple of flows to generate those states to reproduce the issue? if so, LMK and I can share them