Class Plane3DBase
Provides base functionality for axis related classes.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public abstract class Plane3DBase : ContainerUIElement3D, INotifyPropertyChanged, ITreeElement3D, ITreeNode3D
Constructors
Plane3DBase()
Initializes a new instance of the Plane3DBase class.
Declaration
protected Plane3DBase()
Methods
CalculateXTicksDistance(Int32)
Calculates the ticks distance for the respective axis.
Declaration
protected double CalculateXTicksDistance(int itemsCount)
Parameters
System.Int32
itemsCount
The axis items count. |
Returns
System.Double
|
CalculateYTicksDistance(Int32)
Calculates the ticks distance for the respective axis.
Declaration
protected double CalculateYTicksDistance(int itemsCount)
Parameters
System.Int32
itemsCount
The axis items count. |
Returns
System.Double
|
CreateGridLineX(Int32, Double)
Creates the gridLine associated with the XAxis for the respective plane.
Declaration
protected virtual LinePrimitive3D CreateGridLineX(int tickIndex, double ticksDistance)
Parameters
System.Int32
tickIndex
Index of the tick. |
System.Double
ticksDistance
The ticks distance. |
Returns
LinePrimitive3D
|
CreateGridLineY(Int32, Double)
Creates the gridLine associated with the YAxis for the respective plane.
Declaration
protected virtual LinePrimitive3D CreateGridLineY(int tickIndex, double ticksDistance)
Parameters
System.Int32
tickIndex
Index of the tick. |
System.Double
ticksDistance
The ticks distance. |
Returns
LinePrimitive3D
|
DataAxisPropertyChanged(Object, PropertyChangedEventArgs)
Occurs when property of the associated data axis changes.
Declaration
protected virtual void DataAxisPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.ComponentModel.PropertyChangedEventArgs
e
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |
GenerateAxis()
Initializes the 3D axis instance.
Declaration
protected virtual void GenerateAxis()
GenerateGridLines()
Generates the gridLines associated with the respective plane.
Declaration
protected abstract void GenerateGridLines()
GenerateGridLines(Axis, ContainerUIElement3D, Func<Int32, Double>, Func<Int32, Double, LinePrimitive3D>)
Generates the grid lines associated with the respective axis.
Declaration
protected static void GenerateGridLines(Axis dataAxis, ContainerUIElement3D gridLinesContainer, Func<int, double> ticksDistanceCalculator, Func<int, double, LinePrimitive3D> gridLineGenerator)
Parameters
Axis
dataAxis
The data axis. |
ContainerUIElement3D
gridLinesContainer
The grid lines container. |
System.Func<System.Int32, System.Double>
ticksDistanceCalculator
The ticks distance calculator. |
System.Func<System.Int32, System.Double, LinePrimitive3D>
gridLineGenerator
The grid line generator. |
GenerateStripLines()
Generates the strip lines for the respective plane.
Declaration
protected abstract void GenerateStripLines()
OnAncestor3DChanged(ITreeNode3D, ITreeNode3D)
Called when an ancestor's parent has been changed.
Declaration
protected override void OnAncestor3DChanged(ITreeNode3D target, ITreeNode3D oldParent)
Parameters
ITreeNode3D
target
The ancestor, whose parent is changed. |
ITreeNode3D
oldParent
|