How can I update the chart legend text from a chart template ? Let’s say I have 2 Series collection.
Thanks for your posting and considering Aspose.Cells.
Please use the following code to fulfill your needs. Let us know your feedback. Please also read the comments inside the code for your more understanding. You can either assign name to series or cell name from which series name will be extracted.
//Change the first Series Name
Chart ch = ws.Charts;
Series srs = ch.NSeries;
srs.Name = "JmanaLastas ";
//If you want to give cell name, for example
//your new name is present in cell A8
srs.Name = "=A11 ";