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

ItemToolTipFormat and using convertor

1 Answer 34 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Kevin Hendriks
Top achievements
Rank 1
Kevin Hendriks asked on 22 Nov 2012, 03:24 PM
Hello,

FOr the char I use the ItemToolTipFormat
<telerik:SplineSeriesDefinition ShowItemLabels="False" ShowItemToolTips="True"
                                ItemToolTipFormat="Month: #DATAITEM.Month&#x0a;Intake: #DATAITEM.Intake{C2}&#x0a;Target: #DATAITEM.Target{C2}&#x0a;Turn Over: #DATAITEM.TurnOver{C2}&#x0a;Maintenance: #DATAITEM.Maintenance{C2}" />

For the  #DATAITEM.Target{C2} would it be possible to use a custom convertor on the value?

1 Answer, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 26 Nov 2012, 07:50 AM
Hi Kevin,

The ItemToolTipFormat was not designed to be able to work with a Converter, so this is not possible. However, you can use code behind instead and take advantage of the ItemToolTipOpening event where you can apply whatever logic is needed. Check this online example and this help topic for reference. 

Greetings,
Petar Marchev
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
Chart
Asked by
Kevin Hendriks
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Share this question
or