Hello,
How can i change Line , Label color of Pie Chart series, and add Custom Label for each series, I want to create chart like this :
Please see attached is the code that i use and it got me like this :
|
sfChart.Series[0].Style.TextColor = Color.RosyBrown;
sfChart.Series[0].Style.Border.Color = Color.RosyBrown;
dataSeriesModel.XName = "Name";
dataSeriesModel.YNames = new string[] { "Value" };
series.SeriesModel = dataSeriesModel;
var customColors = new List<Color> { Color.RosyBrown, Color.SaddleBrown, Color.RosyBrown, Color.SandyBrown };
for (int i = 0; i < series.Points.Count; i++)
{
sfChart.Series[0].Styles[i].Text = String.Format("{0} | {1}", lData[i].Year, lData[i].Sales);
sfChart.Series[0].Styles[i].Interior = new Syncfusion.Drawing.BrushInfo(customColors[i]);
}
|
Hello, thanks for your reply.
Now i have 1 proble, how can i "ExplodeAll" without disrupting the Perfect Circle of the Pie Chart.
Because whenever i set ExplodeAll = true, the perfect circle was disrupted. i want to add spaces between Series Points
Hello thanks for your reply.
I just want to add Spaces between Doughnut Chart Point Series. I found ExplodeAll method from the Demo, so i use it. But when i use ExplodeAll it's disrupting the Perfect Circle of the chart.
Perhaps there's another method to add Spaces between Doughnut Chart Point Series ?
Awaiting your further news regarding this info.
|
this.chartControl1.Series[0].Style.Border.Color = Color.White;
this.chartControl1.Series[0].Style.Border.Width = 10; |
Hello, i tried to set the Border Color and Width, but the Line won't show if i set the Border color to white.
I want to add spaces between points with Label Line Connector visible like this :
How can i achieve this ?
Thanks and Regards