compost
compost copied to clipboard
Support for round corners and/or beizer curves.
Anyway support for round corners and/or beizer curves?
This is currently not supported, but I can see how this would be useful for smooth lines.
Out of curiosity, what are the use cases that you're thinking of? I can definitely imagine the smooth line using a bezier curve (and SVG supports this, so it should be not too hard). I'm not sure about good use case for rounded corners though...
One of the cases is purely for cosmetic reasons, it would be nice to round the corners of those bar charts. As for the second, I was thinking about pie charts.
Thanks, that makes sense!
Pie charts are one thing that I don't have a good solution for right now. Ideally, I would like to handle those by somehow projecting the 2D space of a chart on a circle (so that a chart with just a series of plain rectangles becomes a pie chart) - but I have not done anything to make this actually work...
How about a helper shape dedicated to beizer curves just like you have a helper for lines? That might ease the pain as the user can give the start and end points and make the curve with this function. One thing needs be added lines and curves should be able to form a closed shape so that you can fill inside. I guess this leads to something like SVG paths.