You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
window.devicePixelRatio specifies the relationship between device pixels and css pixels. We should allow users to opt-in to using this value as a multiplier when measuring the canvas size.
We need to make the behaviour opt-in so that we that we don't break things like font sizes for uninterested parties e.g both axes have the same text size but one is rendered with SVG and the other canvas -
The surface will now throw if it detects elements have been added to it, ensure elements are added as descendants of the svg.
Fixesd3fc#1126.
Fixesd3fc#1125.
The surface will now throw if it detects elements have been added to it, ensure elements are added as descendants of the svg.
Fixesd3fc#1126.
Fixesd3fc#1125.
The surface will now throw if it detects elements have been added to it, ensure elements are added as descendants of the svg.
Fixesd3fc#1126.
Fixesd3fc#1125.
From @chrisprice on July 20, 2017 15:26
window.devicePixelRatio
specifies the relationship between device pixels and css pixels. We should allow users to opt-in to using this value as a multiplier when measuring the canvas size.We need to make the behaviour opt-in so that we that we don't break things like font sizes for uninterested parties e.g both axes have the same text size but one is rendered with SVG and the other canvas -
Relates to #1071
Copied from original issue: d3fc/d3fc-element#30
The text was updated successfully, but these errors were encountered: