Kendo angular 2 line chart, need index of category axis inside series item
<p>I'm creating a kendo ui angular 2 line chart that displays a number of purchases per account on a specific date.  The incoming data is in the following form:</p>

<pre><code>lineData = {
    categories: [ 11/27/2016, 11/28/2016, 11/29/2016, 11/30/2016 ], // strings 
    series: [
        {
            name: 'Account1',
            totals: [ 0, 2, 0, 0 ],
            sums: [ 0, 3, 0, 0 ]
        },
        {
            name: 'Account2',
            totals: [ 0, 0, 2, 2 ],
            sums: [ 0, 0, 3, 5 ]
        },
        {
            name: 'Account3',
            totals: [ 1, 0, 0, 0 ],
            sums: [ 2.5, 0, 0, 0 ]
        }
    ]
}
</code></pre>

<p>Each position of the totals and sums arrays corresponds to a position in the categories field.  In my template, I loop over the series with <code>ngFor</code>, which renders a graph that I'm looking for.  </p>

<p><a href="https://i.stack.imgur.com/IaJmc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IaJmc.png" alt="Graph with proper values"></a></p>

<p>My issue comes when laying out a tooltip for the series items.  The default tooltip displays the total value (the value denoted on the y-axis).  Each of the values in the series totals and sums arrays corresponds to the category position.  I'd like to get the index of the current category position so I can display the total and sum in the tooltip.  My current graph layout:</p>

<pre><code>&lt;kendo-chart (legendItemClick)="eventHandler($event)"&gt;
    &lt;kendo-chart-area [height]="300"&gt;&lt;/kendo-chart-area&gt;
    &lt;kendo-chart-legend position="right"&gt;&lt;/kendo-chart-legend&gt;
    &lt;kendo-chart-series &gt;
        &lt;kendo-chart-series-item *ngFor="let item of lineData.series; let i     = index" type="line" [data]="item.totals" [name]="item.name | uppercase"&gt;
            &lt;kendo-chart-series-item-tooltip format="{0}"&gt;
                &lt;!--&lt;template kendoSeriesTooltipTemplate let-value="item"&gt;
                    &lt;span&gt;Items: {{item.totals[CATEGORY INDEX NEEDED HERE]}}&lt;/span&gt;
                    &lt;span&gt;Total: {{item.sums[CATEGORY INDEX NEEDED HERE] |     currency:'USD':true:'1.2-2'}}&lt;/span&gt;
                &lt;/template&gt;--&gt;
            &lt;/kendo-chart-series-item-tooltip&gt;
        &lt;/kendo-chart-series-item&gt;
    &lt;/kendo-chart-series&gt;
    &lt;kendo-chart-series-item-labels [visible]="true"&gt;&lt;/kendo-chart-series-    item-labels&gt;
    &lt;kendo-chart-category-axis&gt;
        &lt;kendo-chart-category-axis-item [categories]="lineData.categories" [name]="dateAxis"&gt;&lt;/kendo-chart-category-axis-item&gt;
    &lt;/kendo-chart-category-axis&gt;
    &lt;kendo-chart-value-axis&gt;
        &lt;kendo-chart-value-axis-item&gt;
            &lt;kendo-chart-value-axis-item-labels [step]="1"&gt;&lt;/kendo-chart-    value-axis-item-labels&gt;
        &lt;/kendo-chart-value-axis-item&gt;
    &lt;/kendo-chart-value-axis&gt;
&lt;/kendo-chart&gt;
</code></pre>

<p>I've tried many different configurations of the categoryField and categoryAxis properties on the series items, and tried using <code>ngFor</code> over the categories for <code>kendo-chart-category-axis-item-labels</code>.  Assigning <code>[categoryField]=lineData.categories</code> only renders the first point on the graph, and renders that point incorrectly.  The documentation is somewhat lean, due to Kendo UI for Angular 2 still being in development.  I realize that my data may not be in the ideal form, and I'm open to any approach, even if it requires changing my data model.  All guidance will be greatly appreciated.</p>

<p>Documentation links:</p>

<p><a href="http://www.telerik.com/kendo-angular-ui/components/charts/api/ChartComponent/" rel="nofollow noreferrer">ChartComponent</a> </p>

<p><a href="http://www.telerik.com/kendo-angular-ui/components/charts/api/SeriesComponent/" rel="nofollow noreferrer">SeriesComponent</a></p>

<p><a href="http://www.telerik.com/kendo-angular-ui/components/charts/api/CategoryAxisComponent/" rel="nofollow noreferrer">CategoryAxisComponent</a> </p>

<p><a href="http://www.telerik.com/kendo-angular-ui/components/charts/api/CategoryAxisItemComponent/" rel="nofollow noreferrer">CategoryAxisItemComponent</a> </p>

<p><a href="http://www.telerik.com/kendo-angular-ui/components/charts/api/SeriesItemComponent/" rel="nofollow noreferrer">SeriesItemComponent</a></p>