ClassChart3DCameraBehavior
A behavior that manipulates the camera and lights of a 3D chart in accordance to user interaction with mouse or touch.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class Chart3DCameraBehavior : Chart3DBehavior
Inheritance: objectInheritanceContextPropagatorChart3DBehaviorChart3DCameraBehavior
Inherited Members
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
DependencyProperty
FieldOfViewProperty
Identifies the FieldOfView dependency property.
Declaration
public static readonly DependencyProperty FieldOfViewProperty
Field Value
DependencyProperty
FirstAngleProperty
Identifies the FirstAngle dependency property.
Declaration
public static readonly DependencyProperty FirstAngleProperty
Field Value
DependencyProperty
IsRotationEnabledProperty
Identifies the IsRotationEnabled attached dependency property.
Declaration
public static readonly DependencyProperty IsRotationEnabledProperty
Field Value
DependencyProperty
MaxDistanceProperty
Identifies the MaxDistance dependency property.
Declaration
public static readonly DependencyProperty MaxDistanceProperty
Field Value
DependencyProperty
MaxSecondAngleProperty
Identifies the MaxSecondAngle dependency property.
Declaration
public static readonly DependencyProperty MaxSecondAngleProperty
Field Value
DependencyProperty
MinDistanceProperty
Identifies the MinDistance dependency property.
Declaration
public static readonly DependencyProperty MinDistanceProperty
Field Value
DependencyProperty
MinSecondAngleProperty
Identifies the MinSecondAngle dependency property.
Declaration
public static readonly DependencyProperty MinSecondAngleProperty
Field Value
DependencyProperty
SecondAngleProperty
Identifies the SecondAngle dependency property.
Declaration
public static readonly DependencyProperty SecondAngleProperty
Field Value
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.
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
FieldOfView
Gets or sets a value that represents the PerspectiveCamera camera's horizontal field of view.
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
List<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.
MaxDistance
Gets or sets the maximum distance.
MaxSecondAngle
Gets or sets the maximum SecondAngle.
MinDistance
Gets or sets the minimum distance.
MinSecondAngle
Gets or sets the minimum SecondAngle.
SecondAngle
Gets or sets the angle between the UpDirection axis and the line between the camera position and plot area center.
UpDirection
Gets or sets a value indicating which axis defines the up direction of the camera.
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
obj
DependencyObject
Returns
SetIsRotationEnabled(DependencyObject, bool)
Sets a value indicating whether the object should be rotated by a camera behavior.
Declaration
public static void SetIsRotationEnabled(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
value