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

Free Support Forum - aspose.com

Column Stacked chart issue

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

In our application we create column stacked chart using the code given below, to plot it in workbook

int chartIndex = wrkSheet.Charts.Add(ChartType.Column3DStacked, 2, 6, 20, 12);

Chart chart = wrkSheet.Charts[chartIndex];

Range rangechart = wrkSheet.Cells.CreateRange("B5","D8");

rangechart.Name = "ChartRange";

chart.NSeries.Add("ChartRange", true);

chart.NSeries.CategoryData = "ChartCategoryRange";

ChartArea chartarea = chart.ChartArea;

Then we convert this workbook into byte, to save it in database.

Before conversion(to byte) chart looks fine, but after conversion chart gets slightly tilted as given in the screen shot(PFA-image 2). But all other chart types(Pie chart, Line chart) looks fine after byte conversion.

Is there any way to get the chart without any change after byte conversion(PFA-Image 1)..


Please try our latest version/fix: Aspose.Cells for .NET v8.2.0.2 if it makes any difference.

If you still find any issue, I am afraid, we need your sample project to simulate the issue on our end. Kindly create a separate sample console application (runnable), zip it and post us here to reproduce the issue on our end, we will check it soon. Also provide your template files (Excel file and image file, etc.) for investigation.

Thank you.