public final class Aspect extends TeeBase
Title: Aspect class
Description: Chart view characteristics to define Chart 3D appearance
Copyright (c) 2005-2019 by Steema Software SL. All Rights Reserved.
Company: Steema Software SL
chart, InternalUse
Constructor and Description |
---|
Aspect() |
Aspect(IBaseChart c) |
Modifier and Type | Method and Description |
---|---|
void |
assign(Aspect a)
Copies all properties from a Series component to another.
Only the common properties shared by both source and destination Series are copied. |
boolean |
getApplyZOrder()
Displays multiple Series at different 3D "Z" (depth) positions.
Run-time only. |
int |
getChart3DPercent()
Percent from 0 to 100 of Z Depth.
Chart3DPercent indicates the size ratio between Chart dimensions and Chart depth when Chart.Aspect.View3D is true. |
boolean |
getClipPoints()
Restricts those Series points displayed outside the Chart axes
rectangle when true.
Chart method defines the TChart or TDBChart component to display on a TQRChart. |
int |
getElevation()
Determines the angle of 3D elevation in degrees.
Elevation describes front plane rotation by rotation degrees (0 - 360). |
double |
getFontZoom() |
int |
getHeight3D() |
int |
getHorizOffset()
Amount (postive or negative) in pixels of horizontal displacement.
HorizOffset will move the Chart Rectangle horizontally across the Chart Panel. |
int |
getOrthoAngle()
Angle in degrees, from 0 to 90, when displaying in Orthogonal mode.
OrthoAngle sets the angle of inclination of the Depth axis when the Chart is set to Orthogonal mode, or in other words, when Orthogonal property is set to true. |
boolean |
getOrthogonal()
Displays the Chart in semi-3D mode when true.
Orthogonal displays the Chart in a simulated 3D fashion by drawing the Chart depth at an inclined angle. |
int |
getPerspective()
Perspective offers a distance adjustment for the Chart display, giving an appearance of perspective between the nearer and further parts of the Chart. |
int |
getRotation()
Determines the angle of 3D rotation in degrees.
Rotation describes front plane rotation by rotation degrees (0 - 360). |
boolean |
getSmoothingMode()
Chooses between speed or display quality for Chart rendering.
|
boolean |
getTextSmooth()
Chooses between speed or display quality for Text rendering.
|
int |
getTilt()
Determines the angle of 3D tilt in degrees.
Not supported for 2D or 3D orthogonal Charts Important. Set TChart.Aspect.Orthogonal = false; Default value: 0 |
int |
getVertOffset()
Amount (postive or negative) in pixels of vertical displacement.
Moves the entire Chart on a vertical plane. |
boolean |
getView3D()
Draws each Series with a 3D effect.
You can control the 3D proportion by using Chart.Aspect.Chart3DPercent. |
int |
getWidth3D() |
int |
getZoom()
Percent of zoom in 3D mode for the entire Chart.
Increasing the value of Zoom brings the entire Chart towards the viewer. |
boolean |
getZoomText()
Resizes all texts according to Zoom property when true.
When false, Text size will remain constant regardless of the zoom factor obtained with Aspect.Zoom Default value: true |
void |
setApplyZOrder(boolean value)
Sets the different 3D "Z" depth positions of multiple Series.
|
void |
setChart3DPercent(int value)
Sets the percentage of Z Depth.
|
void |
setClipPoints(boolean value)
Restricts those Series points displayed outside the Chart axes
rectangle when true.
|
void |
setElevation(int value)
Sets the angle of 3D elevation in degrees.
|
void |
setFontZoom(double value) |
void |
setHorizOffset(int value)
Sets the amount (postive or negative) in pixels of horizontal
displacement.
|
void |
setOrthoAngle(int value)
Sets the angle in degrees, from 0 to 90, to display the Chart when in
Orthogonal mode.
|
void |
setOrthogonal(boolean value)
Displays the Chart in semi-3D mode when true.
|
void |
setPerspective(int value)
Sets the percentage of 3D perspective.
|
void |
setRotation(int value)
Sets the angle of 3D rotation in degrees.
|
void |
setSmoothingMode(boolean value)
Sets the type of rendering used to display the Chart depending on whether
speed, display quality or antialiasing is required.
|
void |
setTextSmooth(boolean value)
Sets the type of rendering used to display Text.
|
void |
setTilt(int value)
Sets the angle of 3D tilt in degrees.
|
void |
setVertOffset(int value)
Sets the amount (postive or negative) in pixels of vertical
displacement.
|
void |
setView3D(boolean value)
Draws each Series with a 3D effect when true.
|
void |
setZoom(int value)
Sets the percentage of zoom in 3D mode for the entire Chart.
|
void |
setZoomText(boolean value)
Resizes all texts according to Zoom property when true.
|
getChart, invalidate, setBooleanProperty, setChart, setColorProperty, setDoubleProperty, setIntegerProperty, setStringProperty
public Aspect()
public Aspect(IBaseChart c)
public int getRotation()
public void setRotation(int value)
value
- intpublic int getElevation()
public void setElevation(int value)
value
- intpublic int getTilt()
public void setTilt(int value)
value
- intpublic boolean getApplyZOrder()
public void setApplyZOrder(boolean value)
value
- booleanpublic boolean getClipPoints()
public void setClipPoints(boolean value)
value
- booleanpublic boolean getOrthogonal()
public void setOrthogonal(boolean value)
value
- booleanpublic boolean getSmoothingMode()
public void setSmoothingMode(boolean value)
value
- booleanpublic boolean getTextSmooth()
public void setTextSmooth(boolean value)
value
- booleanpublic int getZoom()
public void setZoom(int value)
value
- intpublic int getPerspective()
public void setPerspective(int value)
value
- intpublic int getOrthoAngle()
public void setOrthoAngle(int value)
value
- intpublic int getChart3DPercent()
public void setChart3DPercent(int value)
value
- intpublic int getWidth3D()
public int getHeight3D()
public int getHorizOffset()
public double getFontZoom()
public void setFontZoom(double value)
public void setHorizOffset(int value)
value
- intpublic int getVertOffset()
public void setVertOffset(int value)
value
- intpublic boolean getView3D()
getOrthoAngle()
public void setView3D(boolean value)
value
- booleanpublic boolean getZoomText()
public void setZoomText(boolean value)
value
- booleanpublic void assign(Aspect a)
a
- Aspect