Class Axis3D
This is a base class for the visual chart axis element in the 3D space.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class Axis3D : ContainerUIElement3D, INotifyPropertyChanged, ITreeElement3D, ITreeNode3D
Constructors
Axis3D()
Declaration
protected Axis3D()
Properties
AxisTitleAlignment2D
Gets the alignment applied to the axis title (specified in 2D coordinates).
Declaration
protected abstract Point AxisTitleAlignment2D { get; }
Property Value
System.Windows.Point
|
DataAxis
Gets the data axis associated with the respective visual axis element.
Declaration
protected Axis DataAxis { get; }
Property Value
Axis
|
LabelLayer
Gets the container that holds all label elements corresponding to the axis.
Declaration
protected LabelLayerControl3D LabelLayer { get; }
Property Value
LabelLayerControl3D
|
LineColor
Gets or sets the line color for the currently applied theme.
Declaration
protected Color LineColor { get; set; }
Property Value
System.Windows.Media.Color
|
ParentPlane
Gets or sets the parent plane for the respective visual axis element.
Declaration
protected Plane3DBase ParentPlane { get; set; }
Property Value
Plane3DBase
|
TickColor
Gets or sets the tick color for the currently applied theme.
Declaration
protected Color TickColor { get; set; }
Property Value
System.Windows.Media.Color
|
Methods
AdjustAxisLabelPosition(Point3D)
Adjusts the axis label position.
Declaration
protected abstract Point3D AdjustAxisLabelPosition(Point3D startPoint)
Parameters
Point3D
startPoint
The start point. |
Returns
Point3D
|
CalculateTicksDistance(Int32)
Calculates the ticks distance for the respective axis.
Declaration
protected abstract double CalculateTicksDistance(int itemsCount)
Parameters
System.Int32
itemsCount
The axis items count. |
Returns
System.Double
|
GenerateAxisLine()
Generates the visual axis line element.
Declaration
protected abstract void GenerateAxisLine()
GenerateAxisTitle()
Generates Axis Title.
Declaration
protected abstract void GenerateAxisTitle()
GetAxisItemEndPoint(Int32, Double)
Gets the axis item end point.
Declaration
protected abstract Point3D GetAxisItemEndPoint(int tickIndex, double ticksDistance)
Parameters
System.Int32
tickIndex
Index of the tick. |
System.Double
ticksDistance
The ticks distance. |
Returns
Point3D
|
GetAxisItemStartPoint(Int32, Double)
Gets the axis item start point.
Declaration
protected abstract Point3D GetAxisItemStartPoint(int tickIndex, double ticksDistance)
Parameters
System.Int32
tickIndex
Index of the tick. |
System.Double
ticksDistance
The ticks distance. |
Returns
Point3D
|
GetAxisItemVisibilityAtIndex(Int32)
Gets the visibility of the axis item at the specified index.
Declaration
protected virtual Visibility GetAxisItemVisibilityAtIndex(int index)
Parameters
System.Int32
index
The index. |
Returns
System.Windows.Visibility
|
GetAxisLabelAlignment2D(Int32)
Gets the alignment applied to the axis labels (specified in 2D coordinates).
Declaration
protected abstract Point GetAxisLabelAlignment2D(int index)
Parameters
System.Int32
index
The index of the label. |
Returns
System.Windows.Point
|
OnAncestor3DChanged(ITreeNode3D, ITreeNode3D)
Called when the visual ancestor of the element changes.
Declaration
protected override void OnAncestor3DChanged(ITreeNode3D target, ITreeNode3D oldParent)
Parameters
ITreeNode3D
target
The target. |
ITreeNode3D
oldParent
The old parent. |