I have a stacked bar chart in an existing PPT file that I use as a template. In the template, I have hidden all the Legend entries except for [Geo Average]. However, once I change the data via Aspose.Slides, the [Case Average] entry reappears in the Legend:
- TextFrameEx legend = ((TextFrameEx) curChart.Legend.TextProperties);
- legend.Text = ""
- legend.Paragraphs.Count = 1
- legend.Paragraphs.Text = ""