FattRyan
FattRyan

Reputation: 896

Is it possible to use jQuery in wicked_pdf to render charts?

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

Answers (1)

Scott
Scott

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

Related Questions