question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Retina scaling no longer working in 2.4.0 (master branch)

See original GitHub issue

Testing out the latest using the master branch (since I needed a new feature) and now my charts are twice as big and blurry.

I believe it is related to this commit.

Expected Behavior

Using a width/height of 640x480, a canvas is created like so:

<canvas width="1280" height="960" style="display: block; width: 640px; height: 480px;"></canvas>

Current Behavior

With responsive set to false, the canvas is created as:

<canvas width="1280" height="960" style="display: block;"></canvas>

With responsive set to true, the canvas is created as:

<canvas width="2560" height="1920" style="display: block; width: 1280px; height: 960px;"></canvas>

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
Driklyncommented, Nov 12, 2016

Yep, looks good now whether you’re using <canvas width="640" height="480"></canvas> or <canvas style="width: 640px; height: 480px"></canvas>.

Thanks for the quick fix! 👍

1reaction
Driklyncommented, Nov 10, 2016

Ah, setting the width/height in style does indeed solve the issue! Thanks.

And yup, the responsive: true case is correct.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Helix TeamHub Release Notes - Perforce
Bug Fixes. Important security fixes. Merge state for multi-repo code review was not updated after resolving conflicts. Viewing diff for an empty deleted ......
Read more >
Activity - QGIS Application - QGIS Issue Tracking
01:46 AM Bug report #11080 (Closed): v.kernel not working in QGIS 2.5.0 ... it was possible to export a WCS layer to GeoTIFF,...
Read more >
Bug List - Bugs - Eclipse
This list is too long for Bugzilla's little mind; the Next/Prev/First/Last buttons won't appear on individual bugs. Hide Search Description.
Read more >
History of Previous Changes - Apache JMeter
Bug 64070 - _timeshift function does not work with offset formatters ... registered a graph and is not more present in classpath, issue...
Read more >
OpenShot Video Editor project files : OpenShot Video Editor
If you are interested in helping improve this project, please join the "OpenShot Developers" team on launchpad. We welcome any contributions, big or...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found