Skip to content

Blurry chart lines #7351

@ZsharE

Description

@ZsharE

Interactive example: https://codepen.io/ZsharE/pen/NWGBpoZ

Expected Behavior

The sparkline chart should be sharp. The straight line should be white.

Current Behavior

The sparkline chart is blurry. The straight line is not white (looks like it has some kind of transparency). It's like you draw a line with a pencil that is not sharpened enough.

Steps to Reproduce (for bugs)

Go to: https://cdpn.io/ZsharE/debug/NWGBpoZ/GnAnbOoNqEZA

Browser zoom level 100%: the line chart is blurry.

Browser zoom level 125%: the line chart is sharp.

Environment

  • Chart.js version: 2.9.3
  • Browser name and version: Chrome, Firefox (latest version)
  • Resolution: 1920 x 1080 (native)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions