We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Chart series names

Hello. How can i get chart series names if i dont know them [row, column] location.

TY

Hi,


I have observed the requirement shared by you and like to share that Aspose.Slides returns the chart data cell where the series name is stored as well as the series name it self. Please use the following sample code to serve the purpose. Please share, if I may help you further in this regard.

ChartSeriesEx series = chart.ChartData.Series[0];
String Sername=series.NameCells.GetConcateNameFromCells;
ChartDataCell cell = series.NameCells[0];//0 is series index

Many Thanks,