Multiple Tooltip for multiple ChartView

2 posts, 0 answers
  1. Robin
    Robin avatar
    2 posts
    Member since:
    Jan 2015

    Posted 13 Jan 2015 Link to this post

    Hi everyone !
    I discovered Telerik few weeks ago and i try to use it since, but i have a problem :

    I have one RedCartesianChart with a ChartView. I also have a checkBox which add another ChartView (in the same RedCartesianChart) when checked. How can i assign a tooltipTemplate for each chart ?

    I try with something like : TooltipTemplate="{StaticResource MyTooltipTemplate}", but it applies the template for the whole RedCartesianChart and not just for one ChartView

    I can add the source if needed.

    All tips are welcome !
  2. Petar Marchev
    Petar Marchev avatar
    996 posts

    Posted 14 Jan 2015 Link to this post

    Hi Robin,

    The ChartView is a code name for all the controls in the new Chart.dll. Part of the ChartView are the RadCartesianChart, RadPieChart, RadPolarChart, ChartDataSource. It seems that when you say ChartView you actually mean series, is this the case?

    We do have tooltip template per series, so you should be able to get the behavior you need by setting the TooltipTemplate property of the series in mind. Let us know how it goes.

    Petar Marchev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top