Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple graphs in same pdf document overlay one another #32

Open
fshbeeb opened this issue Oct 19, 2023 · 1 comment
Open

Multiple graphs in same pdf document overlay one another #32

fshbeeb opened this issue Oct 19, 2023 · 1 comment

Comments

@fshbeeb
Copy link

fshbeeb commented Oct 19, 2023

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
Copy link

yjean commented Oct 27, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants