HHRy/prawn-graph

Multiple graphs in same pdf document overlay one another

Opened this issue · 1 comments

Using prawn with prawn-graph,

pdf.graph(series....
pdf.move_down(4)
pdf.graph(series2...

Creates two graphs that overlay one another...the titles and labels are printed on top of each other. Expecting to see two separate graphs here.

Screen Shot 2023-10-19 at 12 04 56 PM
yjean commented

Hello,

I was able to get 2 charts on the same page by giving to each of them their own bounding_box.

It's a solution that could work for me. I hope the same for you.

image image