Looking to a gem that adds gtraphing capabilities to prawn, I found this one but it seems a litle outdated. Is there any more active gem for that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
There is nothing very active for graphing inside Prawn directly, but Gruff is an active gem which is highly configurable and will allow you to make all kinds of graphs.
In fact prawn-graph is basically a wrapper around gruff!
My advise is to use gruff to generate the required charts and graphs then embed them as images in Prawn document.
So the code would look something like this: