Skip to content

Parenthesis in url draws data points outside the plot #3724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
blubiszirp opened this issue Apr 4, 2019 · 1 comment
Closed

Parenthesis in url draws data points outside the plot #3724

blubiszirp opened this issue Apr 4, 2019 · 1 comment
Labels
bug something broken

Comments

@blubiszirp
Copy link

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.

@etpinard
Copy link
Contributor

etpinard commented Apr 9, 2019

Fixed in #3725

@etpinard etpinard closed this as completed Apr 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

2 participants