Hi,
I’m exporting my gantt to PDF/PNG and vertical lines in timeline are missing.
I try to set smart_scales to false and reinit Gantt, but it does not works.
Do you have any idea why its not working ?
this.gantt.config.smart_scales = false;
this.gantt.config.smart_rendering = false;
this.gantt.init(this.elementId);
const fileName = getGanttExportFileName('pdf');
const css = getGanttCss();
// noinspection JSUnresolvedLibraryURL
const fontAwsome = '<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">';
this.gantt.exportToPDF({
name: fileName,
header: `${fontAwsome} <style>${css}</style>`,
locale: this.$localization.getDhtmlxCulture(),
raw: true
});