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 !
    Thanks
  2. Petar Marchev
    Admin
    Petar Marchev avatar
    968 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.

    Regards,
    Petar Marchev
    Telerik
     

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top