AngleZ (Dundas Pie Chart Server 1.0)
From Dundas
AngleZ
Overview | Properties | Methods
Set this property to the amount of rotation around the Z-axis for the previously displayed chart object before calling the Rotate method.
Syntax
PieChartObject.AngleZ = [double]
The AngleZ property syntax has the following parts:
|
Part |
Description |
|
double |
The degree of rotation of the chart object around the Z-axis the last time it was displayed. |
Remarks
In order to rotate a chart you must let the chart instance know what the rotational angles were after the last rotation operation (defaults are used when the first rotation occurs) before calling the Rotate method. This means that you must preserve state information (session-level variables, hidden inputboxes, etc.) between Chart object creation/deletion.
Once you have set the AngleX, AngleY and AngleZ properties the chart object then knows its location as set by a previous rotation operation, and you can then call the Rotate method to rotate the chart. Once this is done MAKE SURE that you record the new X, Y and Z angles for the chart (to be used if the chart is rotated again). To save the chart's new position record (e.g. session variables) the AngleX, AngleY and AngleZ properties.
Refer to the Rotation Tutorial for sample source code demonstrating rotation.
See Also: Rotate | Tutorial: Rotation