This is a migrated thread and some comments may be shown as answers.

How to use different tooltips for different series types

1 Answer 365 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Harald
Top achievements
Rank 1
Harald asked on 07 Mar 2017, 10:05 AM

Hello,

I am using different series types in my chart, like column, line and rangeColumn. I have a problem with the settings for my tooltip, because I don't know how to use different tooltips for different types of series.

While for the types column and line my used template "#= series.name #: #= value #" works perfectly fine, for my rangeColumns I'd need "#= series.name #: #= value.from #" , because otherwise I just see nonsense as pointed out in the attached picture.

Is there any possibility to customize the tooltips for each series type?

 

Thank you and best regards,

Harald

1 Answer, 1 is accepted

Sort by
1
Tsvetina
Telerik team
answered on 08 Mar 2017, 03:54 PM
Hello Harald,

You can use a separate tooltip template and settings for each series in your Chart. Just set the tooltip options of each series object separately, like shown in this Dojo:

http://dojo.telerik.com/@tsveti/UnIYuy/3


Regards,
Tsvetina
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Charts
Asked by
Harald
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or