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

html in tooltip template

1 Answer 141 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Piyush Bhatt
Top achievements
Rank 2
Piyush Bhatt asked on 08 Sep 2015, 09:13 PM

We are trying to display HTML within the chart Tooltip via template and the Tooltip is constructed from the server side.

 E.g. template says

#: dataItem.tooltip_html_field #

 Here if the tooltip_html_field contains <strong>x</strong> it displays this as is in the final tooltip text and does not display the 'x' in bold.

 Any clues what we are missing.

1 Answer, 1 is accepted

Sort by
0
Markus
Top achievements
Rank 2
answered on 09 Sep 2015, 09:11 AM

Hello Piyush,

try to use <b> like this. What font-family you are using?

 "<b>${category}</b> - ${value}"

Example:

http://dojo.telerik.com/agaGA

 ​Best regards

- Markus.

Tags
Charts
Asked by
Piyush Bhatt
Top achievements
Rank 2
Answers by
Markus
Top achievements
Rank 2
Share this question
or