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

How to disable chart tool tip?

1 Answer 131 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Kz
Top achievements
Rank 1
Kz asked on 27 Sep 2016, 05:48 PM

Hi,

How can we disable RadCartesianChart chart tool tip? in xaml and from code.

Can we disable tooltip for only particular series when we have multiple series on chart? if so how. 

 

Thankyou

1 Answer, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 28 Sep 2016, 07:13 AM
Hello,

The tooltip of RadCartesianChart is disabled by default. In order to enable it you will need to define ChartTooltipBehavior object in the Behaviors collection of the chart. 

To hide the tooltip for only a particular series you can set its TooltipTemplate property to an empty DataTemplate object.
<telerik:BarSeries.TooltipTemplate>
  <DataTemplate />
</telerik:BarSeries.TooltipTemplate>

Regards,
Martin
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
ChartView
Asked by
Kz
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Share this question
or