Closed Monty9120 closed 1 week ago
Hi @Monty9120, in most cases if you don't need draw dashed lines on specific region, css stroke-dasharray
is the best option.
The current implementation is drawing dashed lines in single path with the combination of move and line command. There're some limitation for accuracy. I'll go over it to improve this.
Description
First of all, thank you for creating this library!
When using Regions with a large dataset (>600 datapoints) and enabling zoom, the dash-array does not render properly.
How can I ensure the stroke offset is consistent? For example if you add
stroke-dasharray
in CSS, it will automatically scale the line nicely.Steps to check or reproduce
Example region setup:
Desired experience
The ideal look would be something like this, which is acheived with this CSS