Has anyone created a CSV to SVG/PDF/PNG tool?

Skip to first unread message


Jul 27, 2020, 11:03:59 AM7/27/20
to TaskJuggler Users
Generally there are two recommended methods for generating images of the gantt chart.

1. Use wkhtmltopdf
2. Export report as csv and generate your own gantt charts.

For over a year now, I have been using the wkhtmltopdf method to convert my schedule reports to a pdf file for distribution to clients. Now I want to move to generating the charts from CSV. Before I roll out my own, I wanted to check, Has anyone done this before? Is your code available for me to reuse?

Background for the request...

Recently I moved all my official documentation to a mix of Markdown + Pandoc+ https://github.com/hertogp/imagine.  This setup combined with a custom pandoc latex template now creates beautiful professional looking reports and documents.

The final part is to integrate the schedule into my reports, I will shift from wiki to markdown for the text part, but will need a image exporter for the gantt chart.

My final goal is to be able to write something similar to

 columns bsi { width 50 title 'WBS' }, name { width 150 },
    ¦ ¦ ¦ ¦ start { width 100 }, end { width 100 },
    ¦ ¦ ¦ ¦ effort { width 100 },
    ¦ ¦ ¦ ¦ alert { tooltip plan.journal
    ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ ¦ != '' "<-query attribute='journal'->" width 150 },
    ¦ ¦ ¦ ¦ status { width 150 }
    scenarios delayed
in my markdown code and have pandoc call imagine to process the commands and generate an image, and put in the generated Image in place of this code block.
Reply all
Reply to author
0 new messages