ChartView - multiple series tooltips out of order

3 posts, 0 answers
  1. Marcel
    Marcel avatar
    25 posts
    Member since:
    Jan 2011

    Posted 08 May 2013 Link to this post

    Hello,
    I have a radcartesianchart with two BarSeries, stacked on top of each other. I have a tooltip which binds

    like this: 

    ItemsSource="{Binding DataItem.Details}"

     

    When I hover over each of the bars, the wrong tooltip (opposite) shows.

    I have checked that the correct Details data is set in the series ItemSource (via debugger), but the tooltip still shows the wrong (opposite) data.
    Swapping the Details objects achieves the correct results. Is this a bug?

    I plan to try this with four series shortly and may have more information then. 

    // BUG - tooltip is for the wrong series 
    //_globalCalendarDataPoints[_loadCalendarDetailsIndex].Details = globalCalendars; 
    _resourceCalendarDataPoints[_loadCalendarDetailsIndex].Details = globalCalendars; 
    AND 
    // BUG - tooltip is for the wrong series 
    //_resourceCalendarDataPoints[_loadCalendarDetailsIndex].Details = resourceCalendars; 
    _globalCalendarDataPoints[_loadCalendarDetailsIndex].Details = resourceCalendars;
      
    AND LATER
    // all Calendar details have been loaded - only Large tile shows the details 
    this.CalendarSummaryGlobalLargeSeries.ItemsSource = _globalCalendarDataPoints; 
    this.CalendarSummaryResourceLargeSeries.ItemsSource = _resourceCalendarDataPoints;
  2. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 09 May 2013 Link to this post

    Hello Marcel,

    What you describe does seem like a bug. I created a new project and could not reproduce it. I have used the latest binaries and the tool tips are correct. I have attached this test project for your reference. Check it out and see if you get the same proper behavior on your side.
     
    If you keep experiencing issues I will ask that you provide us with a  small working project that demonstrates the issue so that we can investigate and look for solutions.

    Kind regards,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
  4. Marcel
    Marcel avatar
    25 posts
    Member since:
    Jan 2011

    Posted 09 May 2013 Link to this post

    I am sorry. This was my error. The data was incorrect which caused my confusion. The summary data in the bar chart did not match the detail data in the tooltip.
Back to Top