I currently have a dataset that is essentially a schedule. I would like to show it as a beautiful gantt chart. Therefore, I have the schedule shown as a gantt chart in the workshop. I would like to export that gantt chart as a decent looking PDF file. I am open to other visualization tools for my data as long as the PDF looks like a good gantt chart. Any recommendations?
hey @matthew1 - have you looked at Notepad and Notepad Templates? These are easily exportable to PDFs. You can’t embed a Workshop directly in a notepad, but you can embed charts from Contour or Quiver. So you could try using the Vega Chart widget in Quiver and add that to your Notepad. (I think there is a Gantt chart Vega-lite template available to get started with). I haven’t tried it myself but i think it should work!
Thanks for your suggestion. My only problem is that the entire process must be automated. So a user clicks a button and then we generate the schedule based on what the current week is. so all this stuff is happening on the back end. I wonder if I could use other libraries to visualize the data in code repo to make a schedule and then export it to PDF in compass and create an action. It’s unfortunate that Foundry has all these limitations.
I found the best solution I could so I’m sharing it here for future developers.
I used Slate (hard learning curve tbh but worth it) to create my tables the exact way i like and then use the slate’s print action to print the page. You can even import your workshop in Slate and then use the print function that way. Finally, for it to work, it’s important that the page size is properly set. Therefore, maybe the print page would need to use a different page size compared to your other pages.
I would love to hear how others have modified the print functionality because i’m not finding anything on that such as changing the default printer settings or changing the size of the snapshot. Any recommendations on that would be amazing!