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.
Unfortunately, activation email could not send to your email. Please try again.

Problem with pie-chart (3d) in Xlsio

Thread ID:

Created:

Updated:

Platform:

Replies:

106172 Dec 13,2012 12:53 PM Dec 19,2012 12:11 AM ASP.NET Web Forms (Classic) 1
loading
Tags: XlsIO
Dr. Wolfgang Dannhorn
Asked On December 13, 2012 12:53 PM

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

Manikandan M [Syncfusion]
Replied On December 19, 2012 12:11 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;