Hi guys,
I need assistance about the Charts Add-on for Cuba.
I tried to do something very simple with the following Data Model :
- Task Span Entity (Contains Category and have One to Many Link with Task)
- Task Entity (contains Task Name / Start / Finish / Color)
I create a Gantt on Screen, with the following XML :
<chart:ganttChart id="taskSpanGanttChart"
additionalSegmentFields="name"
balloonDateFormat="JJ:NN"
brightnessStep="7"
categoryField="category"
colorField="color"
columnWidth="0.5"
dataContainer="taskSpansDc"
endDateField="finish"
height="50%"
marginRight="70"
period="DAYS"
rotate="true"
segmentsField="task"
startDate="2018-01-01"
startDateField="start"
theme="LIGHT"
width="100%">
<chart:graph balloonText="<strong>[[name]]<"
fillAlphas="1"/>
<chart:valueAxis type="DATE"/>
<chart:valueScrollbar autoGridCount="true"
color="BLACK"/>
<chart:chartCursor cursorAlpha="0"
cursorColor="#55bb76"
fullWidth="true"
valueLineAlpha="0.5"
valueBalloonsEnabled="false"
valueLineBalloonEnabled="true"
valueLineEnabled="true"
valueZoomable="true"
zoomable="false"/>
<chart:export/>
</chart:ganttChart>
However I can only see one gantt bar even if I have in my use case 2 Categories & 2 Tasks.
Can you please help me ?
Attached to this issue a simple example.
Kind regards,
Paul.