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"
ItemsSource
=
"{Binding}"
ValueBinding
=
"__of_Total_Sales"
>
</
telerik:PieSeries
>
</
telerik:RadPieChart
>
List<spSalesPercentResult> spSalesPercentresult = (from s
in
conn.spSalesPercent()
select s).ToList();
TotalSalePercent.ItemsSource = spSalesPercentresult;