no right rendering on timeline pdf output

hi,
I can’t get the right output on pdf timeline
screenshot on attachement file.
I tried to edit the pdWrapper.php file on “// draws timeline events” with no results.
thanks in advance


Try to use dhtmlxscheduler_pdf.js from latest scheduler2pdf package instead of one, which is bundled in dhtmlxscheduler 2.3 package.

using the last version you get:
Invalid argument supplied for foreach()
already fixed by
viewtopic.php?f=6&t=16448&start=0&hilit=pdf+timeline

Try to use the attached files instead of the original ones.
dhtmlxscheduler_pdf.zip (12.5 KB)

hi Stanislav,
I get the same wrong rendering

In the file included you can see the timeline

It’s a scheduled activity list of a group of people.
I’m wondering, also, if it’s possible getting a different color for each different activity on the PDF.




Can you enable the debug mode and provide the debug xml file ?

Also, be sure to use
scheduler.toPDF(url, “fullcolor”);
if you want to have the same colors in pdf output , as on original html page.

ok for the pdf color! thankyou

xml file debug attached
debug_2011_01_24__13_36_48.xml.zip (1.75 KB)