chartjs-to-image icon indicating copy to clipboard operation
chartjs-to-image copied to clipboard

Higher resolution charts

Open Detan-L opened this issue 2 years ago • 2 comments

Hi

Setting higher devicePixelRatios does not seem to have any effect for any value over 2. Are there any ways around this?

Thanks in advance :)

Detan-L avatar Oct 05 '23 14:10 Detan-L

Hey @Detan-L, unfortunately not at this time. devicePixelRatio is capped at 2.0, for retina devices.

typpo avatar Oct 27 '23 16:10 typpo

Setting the format to svg (setFormat) should give you an improved resolution.

MStruntze avatar Feb 15 '24 09:02 MStruntze