Chart series tooltip get item index (let-index) and other row fields

1 Answer 113 Views
Charts
n/a
Top achievements
Rank 1
Iron
n/a asked on 05 Nov 2021, 08:28 PM

Hello. In chart series item tooltip. I had create Scatter chart. When I hover on point I can show tooltip only with xField, yField with format property or from tooltip template with let-value. But I have big array with other fields. which I would like to show. Also I would like to have index or let-index in tooltip template. 

Thank you.

1 Answer, 1 is accepted

Sort by
0
Yanmario
Telerik team
answered on 10 Nov 2021, 10:03 AM

Hi Ioannis,

The described requirement can be achieved by using kendoChartSeriesTooltipTemplate with let-dataItem that will provide access to the data item and customize the Tooltip as demonstrated in the following example:

https://stackblitz.com/edit/angular-onykqv?file=app/app.component.ts

More information about the Chart component tooltip template can be found in the following article from our documentation:

https://www.telerik.com/kendo-angular-ui/components/charts/elements/tooltips/#toc-specifying-a-template

I hope this helps

Regards,
Yanmario
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Charts
Asked by
n/a
Top achievements
Rank 1
Iron
Answers by
Yanmario
Telerik team
Share this question
or