Implement Stacked column chart in aspose.slide

@siriussynoptek,

There has been a mistake in your source code which leads to the workbook corruption, in the line that sets series names. It should be fixed like this to avoid of assigning a DataColumn object to the cell (I have added ToString() method):

for (int colcnt = 0; colcnt < dt.Columns.Count - 1; colcnt++)
{
   PrimaryChartControl.ChartData.Series.Add(factSecondary.GetCell(0, colValIdx, 0, dt.Columns[colcnt].ToString()), PrimaryChartControl.Type);
   colValIdx++;
}

Hi,

I have implemented suggestion but label overlapping issue is still thare. Please suggest.

Thanks in advance.

@siriussynoptek,

I request you to please provide the source sample project, source and generated output file that you are obtaining after applying suggested changes.

Hi support,

Please find updated demo application ConsoleAspose_Updated.zip (552.0 KB)

Thanks in advance.

@siriussynoptek,

I have used Aspose.Slides for .NET 20.5 on my end. I don’t have whole understanding of your entire project but have verified the setting of Gapwidth property by setting it all series instances to 0. The new presentation generated has Gapwidth properly set and I have attached the generated presentation too.
ConsoleAspose_Modified.zip (528.0 KB)

Demo_Overview_Report3.zip (141.6 KB)