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

Free Support Forum - aspose.com

Can't set y2 axis on right side of chart

In 19.1, we cannot put the y2 axis on the right side of the chart. It only shows up on the left side.

using Aspose.Slides;
using Aspose.Slides.Charts;
using Aspose.Slides.Export;

        string dataDir = @"C:\AsposeTest\";
        using (Presentation pres = new Presentation())
            IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.ClusteredColumn, 100, 100, 400, 300);

            //Switching rows and columns
         //Plotting on second axis
            chart.ChartData.Series[0].PlotOnSecondAxis = true;
            pres.Save(dataDir + "Test.pptx", SaveFormat.Pptx);


I have worked with the sample code shared by you and have been able to observe the issue specified. An issue with ID SLIDESNET-40926 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as SLIDESNET-40926) have been fixed in this update.