how to plot correctlty according to sections.currently all events are plotted in the first one
this is stored in $str variable
{key:18, label:“ash”},{key:19, label:“Kat”}
this is passed to sections
var sections=[<?php echo $str;?>];
i am getting events in json in the format
[{“id”:“40”,“start_date”:“2013-05-30 19:45:00”,“end_date”:“2013-05-30 20:45:00”,“text”:“New event”,“emp_id”:“19”},{“id”:“41”,“start_date”:“2013-05-30 16:10:00”,“end_date”:“2013-05-30 17:10:00”,“text”:“New event”,“emp_id”:“19”}
how to get it to plot correctlty according to sections.currently all events are plotted in the first one?