Hi,
I’m creating a BarStacked
Chart in Aspose.Words for .NET and I’d like to modify the GapWidth
property of the series.
I’ve found something similar in the Java documentation for Aspose.Slides, but I cannot find the .NET equivalent for the following Java code (even in the .NET documentation for Aspose.Slides):
series = chart.getChartData().getSeries().get_Item(1);
series.getParentSeriesGroup().setGapWidth(75);
I tried the following code, but no success:
var shape = _builder.InsertChart(ChartType.BarStacked, w, h);
var chart = shape.Chart;
[...]
var series = seriesColl.Add("series 1", categories, new double[] { 1, 2 });
//series.ParentSeriesGroup // <--- does not exists
So, how can I set the GapWidth
property in .NET from Aspose.Words?
Thanks.