Reputation: 896
I want to render graphs created by HighCharts, which used jQuery, in the PDF that wicked_pdf generates. I've looked at the plugin website and it seems like there is a way to do it, I just can't figure it out. My charts work fine in the regular html view. Maybe it's not possible?
Upvotes: 3
Views: 1362
Reputation: 2258
I had to adjust the width in the view too, it looked fine in my html view but for some reason the width was very small in the pdf. Once I set the width in the view and animation to false it worked like a charm.
options.chart["width"] = 750,
options.plotOptions["pie"]["animation"] = false
Upvotes: 0