I have created 3 timeline views (Day,Week, Month) on same page. And loading data dynamically from the server using scheduler.load() method. On the browser console I see the events returned from server but the page is not getting refreshed with data. Below is my code, I am not sure what I am missing here. Can someone please throw some light ?
scheduler.createTimelineView({
name:“timeweek”,
x_unit:“day”,//measuring unit of the X-Axis.
x_date:"%D", //date format of the X-Axis
x_step:1, //X-Axis step in 'x_unit’s
x_size:7, //X-Axis length specified as the total number of 'x_step’s
x_length:7, //number of 'x_step’s that will be scrolled at a time
y_unit: engineers,
round_position:true,
y_property:“user_id”, //mapped data property
render:“bar”, //view mode
});
scheduler.createTimelineView({
name:"timemonth",
x_unit:"day",//measuring unit of the X-Axis.
x_date:"%d %M", //date format of the X-Axis
x_step:1, //X-Axis step in 'x_unit's
x_size:30, //X-Axis length specified as the total number of 'x_step's
x_length:30, //number of 'x_step's that will be scrolled at a time
y_unit: engineers,
round_position:true,
y_property:"user_id", //mapped data property
render:"bar", //view mode
});
scheduler.createTimelineView({
name:“timeday”,
x_unit:“hour”,//measuring unit of the X-Axis.
x_date:"%H:%i", //date format of the X-Axis
x_step:1, //X-Axis step in 'x_unit’s
x_size:24, //X-Axis length specified as the total number of 'x_step’s
x_length:24, //number of 'x_step’s that will be scrolled at a time
y_unit: chart.engineers, //sections of the view (titles of Y-Axis)
y_property:“user_id”, //mapped data property
render:“bar”, //view mode
});
// The initialisation part goes here.
scheduler.init(‘scheduler_here’,null,“timeday”);
scheduler.load("…/schedule/timeSchedules",“json”);