I am using Kendo Angular Charts 7.1.0
and Angular 14.0.4
I am able to display the Navigator with line as output at the bottom of the Bar Graph as below.
The HTML I used is as below...
<kendo-stockchart (render)="onRender($event)">
<kendo-chart-legend [visible]="false"></kendo-chart-legend>
<kendo-chart-area [height]="350" [margin]="{ bottom: 0, left: 7, right: 7, top: 20 }" background="#fff">
</kendo-chart-area>
<!-- x axis -->
<kendo-chart-category-axis>
<kendo-chart-category-axis-item [line]="{ visible: false }" [majorGridLines]="{ visible: false }" name="categoryAxis">
<kendo-chart-category-axis-item-labels [position]="axisLabelPosition" [visual]="categoryLabelsVisual">
</kendo-chart-category-axis-item-labels>
</kendo-chart-category-axis-item>
</kendo-chart-category-axis>
<!-- y axis -->
<kendo-chart-value-axis>
<kendo-chart-value-axis-item
[min]="viewBag.minValue" [max]="viewBag.maxValue" name="valueAxis">
</kendo-chart-value-axis-item>
</kendo-chart-value-axis>
<!-- series -->
<kendo-chart-series *ngIf="isConsumption">
<kendo-chart-series-item type="column" [data]="viewBag.filteredConsumptionData"
[field]="viewBag.selectedConsumptionType === 'actual' ? 'consumption_actual' : 'consumption_estimated'"
categoryField="datetime"
[highlight]="{ visible: viewBag.selectedConsumptionView !== 'hourly' }" [gap]="0.15" color="#3eb7cc">
<kendo-chart-series-item-labels [visual]="seriesLabelsVisual"></kendo-chart-series-item-labels>
</kendo-chart-series-item>
</kendo-chart-series>
<kendo-chart-navigator *ngIf="isConsumption">
<kendo-chart-navigator-select [from]="viewBag?.startDate" [to]="viewBag?.endDate">
</kendo-chart-navigator-select>
<kendo-chart-navigator-series>
<kendo-chart-navigator-series-item type="line" [data]="viewBag.filteredConsumptionData" [field]="viewBag.selectedConsumptionType === 'actual' ? 'consumption_actual' : 'consumption_estimated'" categoryField="datetime">
</kendo-chart-navigator-series-item>
</kendo-chart-navigator-series>
</kendo-chart-navigator>
</kendo-stockchart>
This chart is using the below data from this array - viewBag.filteredConsumptionData
If you see the chart, it is displaying bars properly upto Jun'01 and from there, it is having gap for Jul'01 and the labels are not in sync with the bars.
How can I correct it?