Skip to content

Clip path IDs are not unique when exporting to SVG #2166

@Klikini

Description

@Klikini

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions