Q6001032. Rotating the 3D angle of Axes in Charts

The information on this article applies to
Summary
Chart FX allows you to set a 3D rotation on a selected axis using the supported members of the API.

Description
Chart FX for .NET supports properties exposed by the Chart class that allow you to set a 3D rotation angle for a selected axis. The AngleX and AngleY properties provide the mechanism for setting the rotation angle to the respective axis. In order to property set the AngleX and AngleY members, you must configure the chart for both 3D and rotation views using the Chart3D and View3D properties. Below is an example of setting a 3D rotation angle (45 degrees) for both the X and Y axes programmatically:

VB:

Chart1.Chart3D = True
Chart1.View3D = True
Chart1.AngleX = 45
Chart1.AngleY = 45

Note: The Chart3D and View3D properties must be set to True in order to set a 3D rotation angle.

The Chart FX ToolBar also includes commands for rotating the chart axes, however, will only be available once you have set the chart to 3D and rotation view. These commands will then rotate the chart using common angle values 30, 45, 60, etc.

Related Articles
Q6002039 Exception thrown when setting the SeparateSlice property on a 3D Pie chart
Q6002063 3D Pie charts not painting small slices correctly
Q6002077 Pie charts with separated slices do not support Y-angle configuration
Q6002101 Title on the AxisY2 overlaps the labels in 3D charts
Q6002109 3D Curve chart paints lines outside of chart area (breaks line)
Q6002120 HitTest in 3D charts not working correctly (Incorrect context menus)
Q6002121 3D Curve charts drawn incorrectly
Q6002141 Clipped 3D Curve line when there is a large variation between data points
Q6002168 3D Curve chart throws unhandled exception


ArticleID:Q6001032
Keywords:
Reviewed:7/8/2002 4:52:00 PM

DISCLAIMER INFORMATION:
Information in this document is subject to change without notice and does not represent a commitment on the part of Software FX, Inc. The software, which includes the information contained in any databases, described in this document is furnished under a license agreement or nondisclosure agreement. The software may be used or copied only in accordance with the terms of those agreements. It is against the law to copy the software on any medium except as copy of the software for backup purposes. No part of this article may be reproduced or transmitted in any form or by any means including recording, or information storage and retrieval systems, for any purpose other than the purchaser's personal use, without the express written permission of Software FX, Inc.

Software FX, Inc. disclaim all warranties, either express or implied, including but not limited to implied warranties of merchantability and fitness for a particular purpose, with respect to the instructions contained in this article.

In no event shall Software FX, Inc. be liable for any damages whatsoever including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss, even if Software FX, Inc. has been advised of the possibility of such damages. Because some states do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you.