Getting a Slice of the Pie.

2 posts, 0 answers
  1. Stephan
    Stephan avatar
    33 posts
    Member since:
    Jun 2012

    Posted 17 Jan 2013 Link to this post

    I have a Pie Chart that is bound to a stored procedure, the stored procedure brings back the percentage of sales for each sales person in my database.  As the user select  diffrent sales people I would like to be able to highlite or pull the wedge out that represents that sales person.  I have the salesperson code, but right now its not bound and I know which sales person they are looking at.

    <telerik:RadPieChart HorizontalAlignment="Left" Margin="31,32,0,0" VerticalAlignment="Top">
    <telerik:PieSeries x:Name="TotalSalePercent" ShowLabels="True"

    List<spSalesPercentResult> spSalesPercentresult = (from s in conn.spSalesPercent()
    select s).ToList();
                TotalSalePercent.ItemsSource = spSalesPercentresult;

  2. Evgenia
    Evgenia avatar
    1396 posts

    Posted 22 Jan 2013 Link to this post

    Hi Stephan,

     From what you've written I'm assuming that you need a hover(highlight) and selection interaction with each of your Pie slices. Please take a look at this online demo with source code provided where this is shown. You might also find this help topic useful (the code samples are for Scatter series) but the main properties of the ChartSelectionBehaviour are the same for all kind of series.

    Kind regards,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
Back to Top