Reputation: 199
Is there a way to print a chart from Google Sheet with code?
Neatly without other objects, just one graph, one page. And with prepared printing settings.
I've tried different ways, they don't work.
I tried templated html with Javascript window.print()
method and it processes only current window (the sidebar + all buttons etc.) It just opens printing settings page.
My chart is Embedded chart type but if I need to change its type it's ok.
I'd like to have printing settings page with all needed settings chosen (or even start printing) by the button click.
Upvotes: 1
Views: 2439
Reputation: 10026
Right click on the three dots in the top right of the chart. Click "Download", choose pdf. Save the PDF and print that.
Upvotes: 2