Skip to content

chart body's clip-path not working with Angular html5 mode #1079

Closed
@yandongCoder

Description

@yandongCoder

Angular SVG url problem as follow:
https://github.com/jeffbcross/angular-svg-base.

change:

.attr('clip-path', 'url(#' + getClipPathId() + ')');

to:

.attr("clip-path", "url(" + window.location.href + "#" + getClipPathId() + ")");

this could avoid failure of clip-path when use Angular html5 mode.
gx8 i2_9tv c0mb yng9fp

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions