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
I have a hi-dpi screen and the canvas resolution is really low.
I know this is a canvas problem and easily fixed by scaling the canvas to double, then halving it with css styling. But I could not properly do it without breaking the chart.
Example code:
`canvas.width = 2000;
canvas.height = 2000;
canvas.style.width = "1000px";
canvas.style.height = "1000px";`
The text was updated successfully, but these errors were encountered:
I have a hi-dpi screen and the canvas resolution is really low.
I know this is a canvas problem and easily fixed by scaling the canvas to double, then halving it with css styling. But I could not properly do it without breaking the chart.
Example code:
`canvas.width = 2000;
canvas.height = 2000;
canvas.style.width = "1000px";
canvas.style.height = "1000px";`
The text was updated successfully, but these errors were encountered: