Hi Prasad,
I would like to share with you that you may download Aspose.Slides for .NET 15.11.0 from this link. You may share with us the files using any free FTP service like Google Drive, One Drive, Dropbox etc. The values of chart are being populated as there is a comment, “Add chart with default data”. When you add a chart it contains default data and I shared with you how you can replace that data with custom value. You may want to clear that data at once by using the below code on your end.
chart.ChartData.Series.Clear();
chart.ChartData.Categories.Clear();
and then the custom data as per your requirements as in the code below:
IChartDataWorkbook fact = chart.ChartData.ChartDataWorkbook;
chart.ChartData.Series.Add(fact.GetCell(0, 0, 1, "TestChart"), ChartType.Doughnut);
//Adding new categories
chart.ChartData.Categories.Add(fact.GetCell(0, 1, 0, "A"));
chart.ChartData.Categories.Add(fact.GetCell(0, 2, 0, "B"));
chart.ChartData.Categories.Add(fact.GetCell(0, 3, 0, "C"));
chart.ChartData.Categories.Add(fact.GetCell(0, 4, 0, "D"));
chart.ChartData.Categories.Add(fact.GetCell(0, 5, 0, "E"));
IChartSeries series = chart.ChartData.Series[0];
series.DataPoints.AddDataPointForDoughnutSeries(fact.GetCell(0, 1, 1, 91));
series.DataPoints.AddDataPointForDoughnutSeries(fact.GetCell(0, 2, 1, 127));
series.DataPoints.AddDataPointForDoughnutSeries(fact.GetCell(0, 3, 1, 50));
series.DataPoints.AddDataPointForDoughnutSeries(fact.GetCell(0, 4, 1, 75));
series.DataPoints.AddDataPointForDoughnutSeries(fact.GetCell(0, 5, 1, 80));
I hope this will be helpful. Please share if I may help you further in this regard.
Best Regards,