Class Annotation3D
- Namespace
- LightningChartLib.WinForms.Charting.Annotations
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Annotation for 3D views.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Annotation3D : Annotation3DBase, IChartNode, IDisposable, IHighlightingItem
- Inheritance
-
Annotation3D
- Implements
- Inherited Members
Constructors
Annotation3D()
Constructor for Form designer list editor.
public Annotation3D()
Annotation3D(View3D, Axis3DBinding, Axis3DBinding, Axis3DBinding)
Constructor.
public Annotation3D(View3D owner, Axis3DBinding xAxis, Axis3DBinding yAxis, Axis3DBinding zAxis)
Parameters
ownerView3DParent.
xAxisAxis3DBindingX-axis binding.
yAxisAxis3DBindingY-axis binding.
zAxisAxis3DBindingZ-axis binding.
Properties
LocationAxisValues
Location as axis values.
public PointDoubleXYZ LocationAxisValues { get; set; }
Property Value
Remarks
Effective only if LocationCoordinateSystem is 'AxisValues'.
OwnerView
Owner view.
[Browsable(false)]
public View3D OwnerView { get; }
Property Value
XAxisBinding
X-axis binding.
public Axis3DBinding XAxisBinding { get; set; }
Property Value
YAxisBinding
Y-axis binding.
public Axis3DBinding YAxisBinding { get; set; }
Property Value
ZAxisBinding
Z-axis binding.
public Axis3DBinding ZAxisBinding { get; set; }
Property Value
Methods
AdjustLocationAxisValueByUser(int)
Adjust location axis value when user moved.
protected override void AdjustLocationAxisValueByUser(int sweepPageIndex)
Parameters
sweepPageIndexintsweep page index
ApplyWheelChangeOnTarget()
Apply wheel change on target point.
protected override void ApplyWheelChangeOnTarget()
Dispose(bool)
Dispose Annotation3D.
protected override void Dispose(bool disposing)
Parameters
disposingboolLightningChartLib.WinForms.Charting.Annotations.Annotation3D
HandleUserOverResizeNib()
Handle over resize nib.
protected override void HandleUserOverResizeNib()
HandleWheelStateChanged(int, UserInteractiveDeviceEventType)
User interactive device wheel state changed. Update Z of target.
protected override void HandleWheelStateChanged(int change, UserInteractiveDeviceEventType eventType)
Parameters
changeintwheel change
eventTypeUserInteractiveDeviceEventTypeevent type
MoveTargetLocationByUser(float, float, PointFloat)
Move target by user.
protected override void MoveTargetLocationByUser(float x, float y, PointFloat vDownLocationFromTargetRenderCenter)
Parameters
xfloatUser device X coordinate
yfloatUser device Y coordinate
vDownLocationFromTargetRenderCenterPointFloatRendering location on device button down. Not used in 3D.
ResetWheelState()
Reset wheel value.
protected override void ResetWheelState()
UpdateAxesFromOwner()
Updated axes from owner view.
protected virtual void UpdateAxesFromOwner()
Events
LocationAxisValuesChangedByUser
Location axis value coordinates have been changed by user.
public event Annotation3D.LocationAxisValuesChangedByUserEventHandler LocationAxisValuesChangedByUser
Event Type
Remarks
Effective only if LocationCoordinateSystem is 'AxisValues'.