Closed Blaumaus closed 2 months ago
Hi @Blaumaus, thanks for the cheering message.
The apply of regions
can make to render specific range as dashed is implemented as moving point and drawing line commands. And between these commands(and its coordinate) can possibly be overlapped, as your example.
One of the workaround or trick is rendering multiple dataseries separately, by dividing as normal and dashed. And control dashed line with CSS style rather than path commands. It'll get more clear by checking below example.
On a line chart, regions are often poorly rendered (not as a straight line):
It's not a massive bug, but it catches an eye and spoils the UI a tiny bit.
There's also one more extreme example:
Regions seem to be much more "clunky" compared to a regular line near them.
Could you please advice, maybe there's some kind of option I missed that may fix this? Or maybe some sort of
shape-rendering: geometricprecision
may be applied on regions to render them a bit better?Thank you for building this beautiful library. All the best!