4 ms·
It looks like the charts default to 500x300. It would be nice to be able to pass a parameter specifying the size of the image returned. Then I could set the wid
by nsedlet 8y ago
It looks like the charts default to 500x300. It would be nice to be able to pass a parameter specifying the size of the image returned. Then I could set the width of the <img/> to be half of that to get it to show properly on retina at an arbitrary size
- chii 8y agoOr generate an svg version of the chart!
- typpo 8y agoThe API does support "width" and "height" query parameters to set image size!
- nsedlet 8y agoAh, I'm wrong, sorry. I'd been inspecting the image elements to see why they were fuzzy on my retina screen, and didn't see those params - it's in the docs right there on the page though. In that case I'd just update the marketing site to fetch larger images so they look good on retina. This is a fantastic project, by the way. The need for this comes up all the time for us (e.g. charts for emails).