How to disable chart tool tip?

2 posts, 1 answers
  1. sri
    sri avatar
    22 posts
    Member since:
    Oct 2012

    Posted 27 Sep Link to this post

    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

  2. Answer
    Martin
    Admin
    Martin avatar
    1099 posts

    Posted 28 Sep Link to this post

    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.
  3. DevCraft banner
Back to Top