BCGControlBar Pro for MFC
void CBCGPChartDiagram3D::SetPosition ( double  dblXRotation,
double  dblYRotation,
double  dblPerspectivePercent 
)

Sets diagram rotation and perspective.

Call this method to rotate the diagram around X and Y axes and set perspective percent.

  • dblXRotation should be in range [0, 359] degrees.
  • dblYRotation should be in range [-90, 90] degrees.
  • dblPerspectivePercent should be in range [0, 1].
Parameters
dblXRotationSpecifies rotation around Y axis, in degrees.
dblYRotationSpecifies rotation around X axis, in degrees.
dblPerspectivePercentSpecifies perspective percent.