Shared tooltip not working in stock chart

1 Answer 257 Views
Charts
Deepesh
Top achievements
Rank 1
Iron
Deepesh asked on 18 Nov 2021, 06:00 AM

Hi Team,

I am trying to use shared tooltip in stock chart but it is not working as expected. However it is working fine with line chart. Can anyone help me on this?

 

Thanks in advance.

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Bechev
Telerik team
answered on 22 Nov 2021, 07:54 AM

Hi Deepesh,

The Kendo Angular StockChart component automatically enables a built-in tooltip that can be seen in the following demo from our docs:

https://www.telerik.com/kendo-angular-ui/components/charts/stock-chart/

In order to further customize the content of the tooltip, custom logic needs to be implemented in the kendoChartSeriesTooltipTemplate, or kendoChartSharedTooltipTemplate.

I tested the shared tooltip template in StockChart, but the tooltip is rendered as expected. Here is an example:

https://stackblitz.com/edit/angular-41kabv

When modifying the existing logic of a component through a template, any further adjustments are considered developer effort.

I hope this steers you in the right direction.

Regards,
Martin
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
Deepesh
Top achievements
Rank 1
Iron
Answers by
Martin Bechev
Telerik team
Share this question
or