GanttChart : doesn't show data from datasource

when I use startDate, the gantChart shows the data but not starting from the date I have selected as follows:
26%20AM

However, as I want to use the date from the datasource, i removed the startDate field and used startDateField instead as follows but it doesn’t show the Gantt chart content.

    <chart:ganttChart id="ganttChart"
                      additionalSegmentFields="planOrder"
                      balloonDateFormat="JJ:NN"
                      brightnessStep="7"
                      categoryField="resource"
                      columnWidth="0.5"
                      datasource="productionOperationResourceGanttsDs"
                      endDateField="operFinishDate"
                      marginRight="70"
                      period="WEEKS"
                      rotate="true"
                      segmentsField="productionOperationResourceOrderDate"
                      startDateField="operStartDate"
                      theme="LIGHT"
                      width="100%">
        <chart:graph balloonText="&lt;strong&gt;[[planOrder]]&lt;/strong&gt;: [[open]] - [[value]]"
                     fillAlphas="1"
                     lineAlpha="1"
                     lineColor="WHITE"/>
        <chart:valueAxis maximum="31"
                         minimum="7"
                         position="TOP"
                         type="DATE"/>
        <chart:valueScrollbar autoGridCount="true"
                              color="BLACK"/>
        <chart:chartCursor cursorAlpha="0"
                           cursorColor="#55bb76"
                           fullWidth="true"
                           valueBalloonsEnabled="false"
                           valueLineAlpha="0.5"
                           valueLineBalloonEnabled="true"
                           valueLineEnabled="true"
                           valueZoomable="true"
                           zoomable="false"/>
        <chart:export/>
    </chart:ganttChart>

Hi,

The startDate attribute sets initial date of value axis. If you set this date, then you can set start, end, duration of segments using number of periods instead of providing exact dates.

Without a demo project, I only see that the segmentsField has a suspicious value:

segmentsField="productionOperationResourceOrderDate"

Is the productionOperationResourceOrderDate attribute represents a collection of segments?

Regards,
Gleb

Hi Gleb
Yes, productionOperationResourceOrderDate attribute represents a collection of segments

In this case, a demo project is needed to investigate a problem, because it’s hard to say using only XML.

Regards,
Gleb