I've got a Gantt chart that I've limited the amount of customization, just defined it using two two datasources, a single 'Title' column and some Pdf settings. Whenever I export to Pdf, it's huge width, and all of my tasks are slotted in the first time slot.
I was using R2 2021, so I just updated to R3, v2021.3.914 and I'm still seeing the same behaviour.
I think I'm going a bit nuts since other users seem to be able to export to Pdf no problem. I had a custom JS build including only the components I require, so I wonder if I'm missing a dependency that helps with the time aspect of Pdf? So I tried using kendo.all.min.js and I'm still having some pretty unfortunate PDF exports.
The datasources aside (they seem to be operating fine, all the behaviour and functionality in the Gantt chart seems to be working without error), here is the init of my Gantt.
$("#gantt").kendoGantt({
dataSource: tasks,
dependencies: dependencies,
columns: [
{ field: "title", title: "Title" }
],
pdf: {
fileName: 'GanttTest.pdf',
paperSize: 'auto',
landscape: true
}
});
I've attached a screenshot of the UI, which is great. The tasks are all working fine in the UI, the dependencies all work. You can see where the times are slotted in the UI.
Then when I export to PDF, you can see the tasks are all incorrectly rendered under the 8AM time slot, and the other time slots are taking up way too much of the PDF making it pretty much useless as an export.
I've also tried playing with paper sizes in the pdf settings, which usually results in cutting off the content, even though the tasks are still all rendered under the 8AM time slot.
Has anyone else seen this behaviour?
Kevin