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

ChartView - multiple series tooltips out of order

2 Answers 69 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Marcel
Top achievements
Rank 1
Marcel asked on 08 May 2013, 08:51 PM
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 Answers, 1 is accepted

Sort by
0
Petar Marchev
Telerik team
answered on 09 May 2013, 10:12 AM
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.

0
Marcel
Top achievements
Rank 1
answered on 09 May 2013, 08:38 PM
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.
Tags
ChartView
Asked by
Marcel
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Marcel
Top achievements
Rank 1
Share this question
or