So i have tasks, with start time, end time, the usual stuff, and i need to export all the info to pdf (description, owner, relations, etc) Export text to pdf shouldn't be a problem, there are many tutorials who explain it I also need to export a gant chart (need some way to make a screenshot from the gantt i have, or make it from the data). making it from data would be perfect, some eye candy, would also be good. Graphviz was what come to mind to do it, is it the best? should i use an alternative(something to make charts). So what gems should i use, do you know a tutorials who implements similar stuff? Cumps Celso Costa
on 2009-06-08 10:33
on 2009-06-08 16:06
You can do it inside the PDF, this would make a lighter file, and a vector graph, wich behaves nice with zoom and print. Inside PDF::Writer's Manual (http://ruby-pdf.rubyforge.org/pdf-writer/) you have a "Graphics" part, there are good examples. Regards. Franco Catena.
on 2009-06-08 16:50
thx man, in my online searches, to draw the gantt, i would need to combine more than one gem (one to draw and then export as image, other to send it to a pdf) this seems good, gonna wrestle a bit with it Regards Celso Costa