How to define start date ?

Hi everybody !

I try to define the start date of the chart (when i open the chart, i try to put the chart at the place of the current day). I try with “gantt.showDate(new Date());” but it don’t work.

Have you got an idea?

Thank you very much for your help !

Nb : sorry for my bad english i’m french :slight_smile:

I found the solution if anyone is interested :

Add the folloxing lines before init :

gantt.config.start_date = (2014,09,15); gantt.config.end_date = new Date(2014,10,15);;

And if you want to start the chart at the begining add this lines after init :

gantt.config.autosize = "xy";