Wednesday, June 22, 2016

Highchart chart chopped on page break

Leave a Comment

I have a simple bar chart with many bars. I take the highcharts result and use wkhtmltopdf to generate a PDF with A4 page size.

The problem is that the page break always chops some results like this (detail of the page break):

enter image description here

How can I avoid it without having to split the data in two or more charts (paginate the chart)?

I thought about setting something like page-break-inside: avoid; to the bar (or even to the svg's rect), but I don't know how to do this in Highcharts.

Any ideas?

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment