We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Problem with pie-chart (3d) in Xlsio

Hello,

I have a problem with the pie-chart (the exact type is 'ExcelChartType.Pie_Exploded_3D'). I create the Pie-Chart, and so far everything is working fine. Now I would like to move the y-axis, a code in a macro in excel would be like this:

ActiveSheet.Shapes("Chart 4").ThreeD.RotationY = 50

(when "Chart 4" is the Pie-Chart). How could I do this with Syncfusion Xlsio in a code-behind-solution? Currently I am using the version-number 9.404.0.62.

Many thanks for a reply,

Wolfgang

1 Reply

MM Manikandan M Syncfusion Team December 19, 2012 05:11 AM UTC

Hi Wolfgang,

Thanks for using Syncfusion products.

We have created the simplified sample to set the YRotation angle of chart and have attached the same below. please make use of this and let us know if this helps you.

Code snippet:
            //Setting the y axis angle.
            chart.Elevation = 30;
            //Setting the x axis angle.
            chart.Rotation = 60;

Please let us know if you need any clarifications.

Thanks,
Manikandan.M


Chart Worksheet_983df5a9.zip

Loader.
Live Chat Icon For mobile
Up arrow icon