Class Chart3DCameraBehavior
A behavior that manipulates the camera and lights of a 3D chart in accordance to user interaction with mouse or touch.
Inherited Members
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class Chart3DCameraBehavior : Chart3DBehavior
Constructors
Chart3DCameraBehavior()
Initializes a new instance of the Chart3DCameraBehavior class.
Declaration
public Chart3DCameraBehavior()
Fields
DistanceProperty
Identifies the Distance dependency property.
Declaration
public static readonly DependencyProperty DistanceProperty
Field Value
System.Windows.DependencyProperty
|
FieldOfViewProperty
Identifies the FieldOfView dependency property.
Declaration
public static readonly DependencyProperty FieldOfViewProperty
Field Value
System.Windows.DependencyProperty
|
FirstAngleProperty
Identifies the FirstAngle dependency property.
Declaration
public static readonly DependencyProperty FirstAngleProperty
Field Value
System.Windows.DependencyProperty
|
IsRotationEnabledProperty
Identifies the IsRotationEnabled attached dependency property.
Declaration
public static readonly DependencyProperty IsRotationEnabledProperty
Field Value
System.Windows.DependencyProperty
|
MaxDistanceProperty
Identifies the MaxDistance dependency property.
Declaration
public static readonly DependencyProperty MaxDistanceProperty
Field Value
System.Windows.DependencyProperty
|
MaxSecondAngleProperty
Identifies the MaxSecondAngle dependency property.
Declaration
public static readonly DependencyProperty MaxSecondAngleProperty
Field Value
System.Windows.DependencyProperty
|
MinDistanceProperty
Identifies the MinDistance dependency property.
Declaration
public static readonly DependencyProperty MinDistanceProperty
Field Value
System.Windows.DependencyProperty
|
MinSecondAngleProperty
Identifies the MinSecondAngle dependency property.
Declaration
public static readonly DependencyProperty MinSecondAngleProperty
Field Value
System.Windows.DependencyProperty
|
SecondAngleProperty
Identifies the SecondAngle dependency property.
Declaration
public static readonly DependencyProperty SecondAngleProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Distance
Gets or sets the distance. This property has a different meaning for the different cameras. When a PerspectiveCamera is in use, the distance is the radius of the sphere that the camera is positioned on. When an OrthographicCamera is in use, the distance is the Width of the camera.
Declaration
public double Distance { get; set; }
Property Value
System.Double
|
DragToRotateKeyCombinations
Gets the drag-to-rotate key combinations. Drag rotation is performed when at least one key combination is fully satisfied. When this collection is empty rotation is performed when the left mouse button is pressed.
Declaration
public List<ChartKeyCombination> DragToRotateKeyCombinations { get; }
Property Value
System.Collections.Generic.List<ChartKeyCombination>
|
FieldOfView
Gets or sets a value that represents the PerspectiveCamera camera's horizontal field of view.
Declaration
public double FieldOfView { get; set; }
Property Value
System.Double
|
FieldOfViewModifierKeys
Gets the keys that allow modifying the field of view on mouse wheel. The field of view is updated when at least one of these keys is pressed. When this collection is empty the field of view is updated when the left shift and/or right shift is pressed.
Declaration
public List<Key> FieldOfViewModifierKeys { get; }
Property Value
System.Collections.Generic.List<System.Windows.Input.Key>
|
FirstAngle
Gets or sets the angle between the axis to the right and the projection of the line between the camera position and plot area center onto the horizontal plane. The axis to the right is considered to be the one that goes to the right when one axis goes up and another goes towards the viewer. The horizontal plane is considered to be the plane that is defined by the right axis and the axis that goes towards the viewer.
Declaration
public double FirstAngle { get; set; }
Property Value
System.Double
|
MaxDistance
Gets or sets the maximum distance.
Declaration
public double MaxDistance { get; set; }
Property Value
System.Double
|
MaxSecondAngle
Gets or sets the maximum SecondAngle.
Declaration
public double MaxSecondAngle { get; set; }
Property Value
System.Double
|
MinDistance
Gets or sets the minimum distance.
Declaration
public double MinDistance { get; set; }
Property Value
System.Double
|
MinSecondAngle
Gets or sets the minimum SecondAngle.
Declaration
public double MinSecondAngle { get; set; }
Property Value
System.Double
|
SecondAngle
Gets or sets the angle between the UpDirection axis and the line between the camera position and plot area center.
Declaration
public double SecondAngle { get; set; }
Property Value
System.Double
|
UpDirection
Gets or sets a value indicating which axis defines the up direction of the camera.
Declaration
public Axis3DType UpDirection { get; set; }
Property Value
Axis3DType
|
Methods
GetIsRotationEnabled(DependencyObject)
Gets a value indicating whether the object should be rotated by a camera behavior.
Declaration
public static bool GetIsRotationEnabled(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
|
Returns
System.Boolean
|
SetIsRotationEnabled(DependencyObject, Boolean)
Sets a value indicating whether the object should be rotated by a camera behavior.
Declaration
public static void SetIsRotationEnabled(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
|
System.Boolean
value
|