Pie Chart and ToolTip

6 posts, 1 answers
  1. Matt
    Matt avatar
    17 posts
    Member since:
    Jan 2013

    Posted 24 Jul 2013 Link to this post

    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!
  2. Answer
    Ivo
    Admin
    Ivo avatar
    90 posts

    Posted 29 Jul 2013 Link to this post

    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.
  3. DevCraft banner
  4. Prakash
    Prakash avatar
    2 posts
    Member since:
    Feb 2014

    Posted 02 Mar 2014 in reply to Ivo Link to this post

    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.


  5. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 05 Mar 2014 Link to this post

    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!

  6. Prakash
    Prakash avatar
    2 posts
    Member since:
    Feb 2014

    Posted 07 Mar 2014 in reply to Rosy Topchiyska Link to this post

    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
  7. Rosy Topchiyska
    Admin
    Rosy Topchiyska avatar
    551 posts

    Posted 07 Mar 2014 Link to this post

    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.

Back to Top
DevCraft banner