Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8062993
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:52:10+00:00 2026-06-05T10:52:10+00:00

I am using this gem for my RoR app: Google Visualr to generate some

  • 0

I am using this gem for my RoR app: Google Visualr to generate some charts in my application. So I have code like this in my view:

<div id='chart'></div>
<%= render_chart @chart_data, 'chart' %>

That renders a Google Chart and I have to say it’s pretty cool. However, how can I make a PDF from the chart? I was using the old Google image Charts and it was pretty easy to render the image to a pdf, but with this SVG I fail to see how to do it.

Any thoughts or recommendations?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T10:52:12+00:00Added an answer on June 5, 2026 at 10:52 am

    I’m not using Google Charts but I’m using Highcharts. I’ve found great success in rendering charts to pdf using a combination of 2 gems:

    wicked_pdf – https://github.com/mileszs/wicked_pdf
    and
    wkhtmltopdf-binary – https://github.com/zakird/wkhtmltopdf_binary_gem

    The second is the binary dependency for wicked_pdf. It was pretty straight forward to use and it can render your rails view in pdf format. If you plan on deploying on heroku, replace the second gem with:

    wkhtmltopdf-heroku – https://github.com/bradphelan/wkhtmltopdf-heroku

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using this plist gem to generate a plist file, which my Rails application
I'm using this gem for Facebook authentication in my Rails app. I'm having some
This question came about because the cells gem specifies template directories using File.join('app','cells'). That
I am developing a Rails app using OmniAuth, OmniAuth-salesforce and this gem: https://github.com/heroku/databasedotcom I
I have doing some POC in Ruby-on-Rails and using sqlite database, while doing this
I'm using gmaps4rails on my project. This gem works amazing but i have a
so I have this project in RoR where I use sorcery gem for register
Im using this gem to add private messages to my application. https://github.com/LTe/acts-as-messageable/blob/master/lib/acts-as-messageable/message.rb I`m trying
I have code in my model (RoR 3.0.x) that is more or less like
I've employed devise as the user-authentication gem for my rails web-app. Using this pre-generated

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.