Planner
Gantt-style planner that draws items as bars over the days of a year, with progress, colors and tooltips from a data-source
- please try to understand the functionality
Data-source needs to contain:
{
items: [{ id: '12345', name: 'A name of plan', dtbeg: NOW.add('-5 days'), dtend: NOW.add('3 days'), progress: 30, color: '#5385EA', title: 'A tooltip' }, ...] // items
year: 2019
}Configuration:
days {String}pluralization for days (optional, default:# days,# day,# days,# days)exec {String}a path to variable or methodfunction(item, el), it's evaluated if the user will click on the itemscroll {String}a path to variable or methodfunction(y), it's evaluated if the user will scroll plannerparent {String}optional, a container with fixed width/height, can bewindow. Default value:parentelement.)




