When including multiple exported SVGs in the same HTML document, the generated clip path IDs collide and cause weird rendering issues (e.g. one chart will be clipped based on geometry of another chart).
This could be resolved by changing clip path IDs from $"clipPath{number++}" to something like $"clipPath-{new Guid()}" in SvgWriter.
For now, I am just exporting one type of chart to PNG so it doesn't conflict with the other type of chart, but it would be nice to export everything as SVG.
When including multiple exported SVGs in the same HTML document, the generated clip path IDs collide and cause weird rendering issues (e.g. one chart will be clipped based on geometry of another chart).
This could be resolved by changing clip path IDs from
$"clipPath{number++}"to something like$"clipPath-{new Guid()}"in SvgWriter.For now, I am just exporting one type of chart to PNG so it doesn't conflict with the other type of chart, but it would be nice to export everything as SVG.