This question is locked. New answers and comments are not allowed.
Hello,
I'm a newbie in Silverlight, and my friend suggest me to use Telerik to work with my project
My problem is I have a RadPieChart in MainPage.xaml and I want to add SliceStyles and DataPoints by my code in MainPage.xaml.cs
This is my radPieChart1 in MainPage.xaml
And this is my MainPage.xaml.cs
Somebody can help me?
p.s: I also want the piece I move mouse in to have OffsetFromCenter, and come back to center when I move mouse out that piece; or other effects.
Thanks,
I'm a newbie in Silverlight, and my friend suggest me to use Telerik to work with my project
My problem is I have a RadPieChart in MainPage.xaml and I want to add SliceStyles and DataPoints by my code in MainPage.xaml.cs
This is my radPieChart1 in MainPage.xaml
<telerik:RadPieChart Height="175" HorizontalAlignment="Right" Margin="0,90,233,0" Name="radPieChart1" VerticalAlignment="Top" Width="179"> </telerik:RadPieChart>And this is my MainPage.xaml.cs
using System.Windows.Controls;using System.Windows.Input;using Telerik.Charting;using Telerik.Windows.Controls.ChartView;namespace Chart{ public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); PieSeries pieSeries = new PieSeries(); pieSeries.DataPoints.Add(new PieDataPoint() {Value = 1}); pieSeries.DataPoints.Add(new PieDataPoint() {Value = 2}); pieSeries.DataPoints.Add(new PieDataPoint() {Value = 3}); pieSeries.DataPoints.Add(new PieDataPoint() {Value = 4}); pieSeries.DataPoints.Add(new PieDataPoint() {Value = 5}); pieSeries.DataPoints.Add(new PieDataPoint() {Value = 6}); radPieChart1.Series.Add(pieSeries); // TO DO: // I want to create and add SliceStyle in my radPieChart1
// The purpose is to make each piece have a different colour } private void PieSeries_MouseEnter(object sender, MouseEventArgs e) { } }}Somebody can help me?
p.s: I also want the piece I move mouse in to have OffsetFromCenter, and come back to center when I move mouse out that piece; or other effects.
Thanks,