Nothing appears in "Timeline".

Hello,
Nothing appears in “Timeline”.
Everything works in day, week, month.
Registration from timeline is properly db.
Thank you for your help


function init() { scheduler.config.multi_day = true; scheduler.locale.labels.timeline_tab ="Timeline"; scheduler.locale.labels.section_custom="Section"; scheduler.config.details_on_create=true; scheduler.config.details_on_dblclick=true; scheduler.config.xml_date="%Y-%m-%d %H:%i"; scheduler.config.first_hour=7; scheduler.config.last_hour=20; //=============== //Configuration //=============== var sections=[ {key:1, label:"DIAMOND DA40"}, {key:2, label:"PIPER Arrow"}, {key:3, label:"ROBIN DR400"}, {key:4, label:"ROBIN DR500"} ]; scheduler.createTimelineView({ name:"timeline", x_unit:"minute",//measuring unit of the X-Axis. x_date:"%H:%i", //date format of the X-Axis x_step:30, //X-Axis step in 'x_unit's x_size:24, //X-Axis length specified as the total number of 'x_step's x_start:14, //X-Axis offset in 'x_unit's x_length:48, //number of 'x_step's that will be scrolled at a time y_unit: sections, y_property: "section_id", render:"bar" //view mode }); //=============== //Data loading //=============== scheduler.config.lightbox.sections=[ {name:"description", height:130, map_to:"text", type:"textarea" , focus:true}, {name:"location", height:43, type:"select", options:sections, map_to:"section_id" }, {name:"time", height:72, type:"calendar_time", map_to:"auto"} ] scheduler.init('scheduler_here', new Date(),"timeline"); scheduler.load("events.php?uid="+scheduler.uid()); var dp = new dataProcessor("events.php"); dp.init(scheduler); } function show_minical(){ if (scheduler.isCalendarVisible()) scheduler.destroyCalendar(); else scheduler.renderCalendar({ position:"dhx_minical_icon", date:scheduler._date, navigation:true, handler:function(date,calendar){ scheduler.setCurrentView(date); scheduler.destroyCalendar() } }); }

Hi,
by nothing you mean timeline with sections but without any events, or there is an empty scheduler without sections as well?
If sections are displayed, event might be not shown because they do not have ‘section_id’ property set. If the property exists in the database, make sure you’ve added it to connector configuration as well

Hello

Thank you for the reply.

I found the solution:

         scheduler.createTimelineView({
         name:"timeline",
            x_unit:"minute",//measuring unit of the X-Axis.
                 x_date:"%H:%i", //date format of the X-Axis
                 x_step:30,      //X-Axis step in 'x_unit's
                 x_size:27,      //X-Axis length specified as the total number of 'x_step's
                 x_start:14,     //X-Axis offset in 'x_unit's
                 x_length:48,    //number of 'x_step's that will be scrolled at a time
         y_unit:scheduler.serverList("avion"), 
		 y_property: "avion",

         render:"bar"             //view mode             
         //round_position:true
        });

Tout est OK