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

Pie Chart and ToolTip

8 Answers 144 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matt
Top achievements
Rank 1
Matt asked on 25 Jul 2013, 01:07 AM
Was this ability to use tooltips on the pie chart feature ever implemented? I'm trying again to get this to work and still no luck. Here's my code:
<telerikChart:RadPieChart Grid.Row="0" x:Name="chart" Palette="Warm" SelectionPalette="WarmSelected" >
    <telerikChart:PieSeries ShowLabels="True" ValueBinding="Value">
    </telerikChart:PieSeries>
    <telerikChart:RadPieChart.Behaviors>
        <telerikChart:ChartTooltipBehavior TriggerMode="Tap" SnapToClosestPoint="True"/>
    </telerikChart:RadPieChart.Behaviors>
    <telerikChart:RadPieChart.TooltipTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding Value}" />
        </DataTemplate>
    </telerikChart:RadPieChart.TooltipTemplate>
</telerikChart:RadPieChart>


I saw some updates to the chart components, but maybe this hasn't been one of them? Thanks!

8 Answers, 1 is accepted

Sort by
0
Accepted
Ivo
Telerik team
answered on 29 Jul 2013, 08:31 AM
Hi Matt,
Yes, you are right- the updates into RadChart are mainly bugfixes and that functionality is not still implemented (the issues had higher priority into our backlog plan).

Regards,
Ivailo Dinkov
Telerik
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
0
Prakash
Top achievements
Rank 1
answered on 02 Mar 2014, 04:35 PM
Hi,

​The Tooltip Sample given in http://www.telerik.com/help/windows-phone/radchart-features-tooltip.html  works if we have one bar series. I need to show tool tip in stacked bar graph (CombineMode="Stack") and
tool tip should change based on the stack user tap. Can you please share
the working sample using MVVM.

Thanks


 

I need to show tool tip in stacked bar graph
(CombineMode="Stack") and tool tip should change based on the stack user
tap. Can you please share the working sample using MVVM.


0
Rosy Topchiyska
Telerik team
answered on 05 Mar 2014, 04:16 PM
Hello Prakash,

Thank you for the question.

We have to admit that there is a bug with the chart tooltip when used with stacked series. Could you please elaborate a bit more on your scenario, e. g. what information do you wish to display in the tooltip, and we will try to give you a workaround until our developers fix the problem.

I look forward to your reply. I have also updated your Telerik points as a token of gratitude for bringing this issue to our attention.

Regards,
Rositsa Topchiyska
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

0
Prakash
Top achievements
Rank 1
answered on 07 Mar 2014, 06:01 AM
Hello,

I have attached the pic (Bar_Cluster&Stack) where you could see that when CombineMode="Cluster" (Pic 1 and 2 from left), tool tip shows different ( $50 and $30 B) in both the bar series for Category A.

However after changing CombineMode="Stack", I can see only one tool tip ($50 B i.e the first from bottom) in both the bar series. I should be able to see two different tool tips (similar to Cluster mode) based on their data in category A.

Please let me know if you have any fix or workaround for the issue I have or if you need any other information in this regard.

Thanks,
Prakash
0
Rosy Topchiyska
Telerik team
answered on 07 Mar 2014, 11:51 AM
Hi Prakash,

Thank you for the provided information.

Unfortunately, with the current version of the chart, the tool tip does not provide a mechanism to determine which series have been tapped in the stacked scenario. Our suggestion is to show a single tool tip that you can customize to display information about all data points in the corresponding stack. This can be achieved with the RadCartesianChart.TooltipTemplate property. The context of the template is of ChartDataContext type and it contains information about all points in the tapped category. Using value converters, you can extract the information you want to display from the context. I have attached a sample project that demonstrates how you can do that.

Please, let us know if this helps or if you have additional requirements.

Regards,
Rositsa Topchiyska
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

0
Mathieu
Top achievements
Rank 1
answered on 07 Apr 2017, 12:50 PM

Hello,

Is there any update or code sample for achieve this in WPF?

 

Thx

0
Mathieu
Top achievements
Rank 1
answered on 07 Apr 2017, 12:51 PM
Hello,
Is there any update or code sample to achieve this in WPF?

Thx
0
Lance | Manager Technical Support
Telerik team
answered on 07 Apr 2017, 11:03 PM
Hi Mathieu,

You've accidentally posted this question to the UI for Windows Phone 8 forums, you can find the UI for WPF forums here.

That said, here is the documentation on how to use the tooltip behavior with the UI for WPF ChartView.

Regards,
Lance | Tech Support Engineer, Sr.
Telerik by Progress
Leverage your XAML skill to create beautiful Windows 10 apps for phone, tablet and desktop. Try UI for Universal Windows Platform today!
Tags
Chart
Asked by
Matt
Top achievements
Rank 1
Answers by
Ivo
Telerik team
Prakash
Top achievements
Rank 1
Rosy Topchiyska
Telerik team
Mathieu
Top achievements
Rank 1
Lance | Manager Technical Support
Telerik team
Share this question
or