Skip to content

Segments edges rendering issues #129

Open
@toomuchdesign

Description

The way some browsers render SVG paths cause a few visual issues especially when when full pies are rendered:

64119904-2d96e700-cd9b-11e9-9663-fa4cb1425524

More specifically a few OS/browser combinations seem to not being able to render SVG stroke line caps precisely enough. Here is a list browsers where issues where reported and reproduced.

OS Browser Issue
iOS iOS Safari full pie charts visual glitch when animate !== true
Windows 10 Firefox v68+ full pie charts visual glitch when animate === true

Somehow SVG stroke-dasharray property is the key here but different browsers react in opposite ways so that I can't currently see an easy patch not involving browser detection.

stroke-dasharray + stroke-dashoffset are currently only appended when animation is enabled.

Partially supported

OS Browser Issue
Windows 10 Edge ≤ v44 animation === true breaks visually

Not supported

  • IE ≤ 10

Related issues

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions