Hacker News new | ask | show | jobs
by paul_f 4370 days ago
Big fan of Highcharts. Like that you can export charts to a png. Big deal for me, don't think chart.js offers anything like that?
2 comments

FusionCharts can export charts to PNG, JPG, PDF and SVG. I've been trying both FusionCharts and HighCharts for past few weeks and I can say that I am a bit inclined towards FusionCharts. Had this discussion the other day as well when Epoch[1] was released.

[1] https://news.ycombinator.com/item?id=7948560

Yep, you can call .toBase64Image() on your chart instance to return a png image encoded as a base 64 data url.