on 04-26-2017 8:52 AM
Hi all,
i'm working with the SAPUI5 Gantt-Chart and want to visualize via the CalendarDefs the weekends and freeday from workingcalendar.
This works, BUT i could only visualize the first 100 entries. After the last 100 the lines are no more visualized.
Does anybody know if there is an fix limitation or if i'm doing something wrong?
You can see the grey lines in the background.
My implementation looks like this:
oGanttChartWithTable.setCalendarDef(new sap.gantt.def.cal.CalendarDefs({
defs: {
path: "data>/calendar",
template: new Calendar({
key: "{data>id}",
backgroundColor: "@sapNeutralColor",
timeIntervals: {
path: "data>data",
templateShareable: true,
template: new sap.gantt.def.cal.TimeInterval({
startTime: "{data>startTime}",
endTime: "{data>endTime}"
})
}
})
}
}));
Can anybody help me in this topic?
Thank you and kind regards,
Björn
Hi all.
I solved it.
The problem is on the JSON-Model which if used to fill the chart.
You have to set the sizeLimit on more than 100. In my case:
this._oODataJSONModel.setSizeLimit(2500);
This works fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bjorn!
I have a problrm with weekends visualization/ Can you help me this topic? Do you specify any shape for CalendarDefs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.