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
Initializes a new instance of the Chart3DCameraBehavior class.
public Chart3DCameraBehavior()
Fields
DistanceProperty
DependencyProperty
Identifies the Distance dependency property.
public static readonly DependencyProperty DistanceProperty
FieldOfViewProperty
DependencyProperty
Identifies the FieldOfView dependency property.
public static readonly DependencyProperty FieldOfViewProperty
FirstAngleProperty
DependencyProperty
Identifies the FirstAngle dependency property.
public static readonly DependencyProperty FirstAngleProperty
IsRotationEnabledProperty
DependencyProperty
Identifies the IsRotationEnabled attached dependency property.
public static readonly DependencyProperty IsRotationEnabledProperty
MaxDistanceProperty
DependencyProperty
Identifies the MaxDistance dependency property.
public static readonly DependencyProperty MaxDistanceProperty
MaxSecondAngleProperty
DependencyProperty
Identifies the MaxSecondAngle dependency property.
public static readonly DependencyProperty MaxSecondAngleProperty
MinDistanceProperty
DependencyProperty
Identifies the MinDistance dependency property.
public static readonly DependencyProperty MinDistanceProperty
MinSecondAngleProperty
DependencyProperty
Identifies the MinSecondAngle dependency property.
public static readonly DependencyProperty MinSecondAngleProperty
SecondAngleProperty
DependencyProperty
Identifies the SecondAngle dependency property.
public static readonly DependencyProperty SecondAngleProperty
Properties
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.
public double Distance { get; set; }
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.
public List<ChartKeyCombination> DragToRotateKeyCombinations { get; }
Gets or sets a value that represents the PerspectiveCamera camera's horizontal field of view.
public double FieldOfView { get; set; }
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.
public List<Key> FieldOfViewModifierKeys { get; }
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.
public double FirstAngle { get; set; }
Gets or sets the maximum distance.
public double MaxDistance { get; set; }
Gets or sets the maximum SecondAngle.
public double MaxSecondAngle { get; set; }
Gets or sets the minimum distance.
public double MinDistance { get; set; }
Gets or sets the minimum SecondAngle.
public double MinSecondAngle { get; set; }
Gets or sets the angle between the UpDirection axis and the line between the camera position and plot area center.
public double SecondAngle { get; set; }
Gets or sets a value indicating which axis defines the up direction of the camera.
public Axis3DType UpDirection { get; set; }
Methods
Gets a value indicating whether the object should be rotated by a camera behavior.
public static bool GetIsRotationEnabled(DependencyObject obj)
Sets a value indicating whether the object should be rotated by a camera behavior.
public static void SetIsRotationEnabled(DependencyObject obj, bool value)