Skip to content

Parenthesis in url draws data points outside the plot #3724

Closed
@blubiszirp

Description

@blubiszirp

Hi everyone

There is a problem with drawing a plot if you have parenthesis "( )" in the url (ex. "localhost:4200/test/(test)")
If you zoom, move or if there are data points outside the plot area, those data points/lines are visible.

Expected behavior:
correct

Behavior if there are parenthesis in URL:
bug

That the url is added to the clip-path in the svg if there is a <base> tag clip-path="url(http://localhost:4200/test/(test)#clipa27839xyplot)"
It looks like that the first closing parenthesis ")" (after test) is used to close the url instead of the second after the id. If I remove the parenthesis from the baseUrl it works as expected.

If the whole part inside the clip-path url would be set between two single quotes it works also as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions