Display all months, not only a few

I need to display all months in a empty gannt with any information, or display all months with only information about one, two,etc, so I need the 12 months. How can I do that?

This is my actual configuration:
gantt.config.scale_unit = “month”;
gantt.config.date_scale = “%Y”;
gantt.config.subscales = [{unit:“month”, step:1, date:"%F"}];

Thanks

You can define start and end dates as parameters of gantt.init

gantt.init("some", new Date(2013,0,1), new Date(2014,0,1));

The above init command will render gantt with scale for 12 months
docs.dhtmlx.com/gantt/api__gantt_init.html

Thanks! :smiley:

When I set a start date of Nov 1st it also shows October. Can this be changed?

Thanks,

Chris