i copy ur corrected code but still not display the chart
it show
Notice: Undefined offset: 4 in C:\xampp\htdocs\gant\jpgraph_gantt.php on line 410 Notice: Undefined offset: 5 in C:\xampp\htdocs\gant\jpgraph_gantt.php on line 458 JpGraph Error: 6017 Unknown date format in GanttScale (%s).
maybe there is something wrong in date format...im using xampp as web server, the date format in YYYY/MM/DD
and i change the style code to code below then still the same output display
$graph->scale->day->SetStyle(DAYSTYLE_CUSTOM);