Click or drag to resize

View3DBase Class

LightningChart .NET Help
3D view base class.
Inheritance Hierarchy

Namespace: LightningChartLib.UWP.ChartingMVVM.Views.View3D
Assembly: LightningChart.UWP.ChartingMVVM (in LightningChart.UWP.ChartingMVVM.dll) Version: 11.0.1
XMLNS for XAML: Not mapped to an xmlns.
Syntax
[SerializableAttribute]
[TypeConverterAttribute(typeof(GeneralTypeConverter))]
public abstract class View3DBase : ViewBase

The View3DBase type exposes the following members.

Constructors
 NameDescription
Public methodView3DBase Constructor
Public methodView3DBase(LightningChart) Constructor.
Top
Properties
 NameDescription
Public propertyAutoSizeMargins Automatically size margins based on LegendBox position and size. This is a dependency property.
Public propertyBorder Gets or sets Border of the 3D chart view. This is a dependency property.
Public propertyCamera Gets or sets camera (point of view). This is a dependency property.
Public propertyDimensions Gets or sets dimensions (size) of the 3D chart view. This is a dependency property.
Public propertyMargins Gets or sets margins between control's edges and for example graph area borders in DIPs. If using ViewXY, AxisLayout.AutoAdjustMargins must be disabled this to apply. This is a dependency property.
(Inherited from ViewBase)
Top
Methods
 NameDescription
Public methodConvert3DWorldCoordToScreenCoord Convert a 3D point to screen coordinate.
Public methodStatic memberCreateDefaultLights Create default lights.
Public methodDispose Release all resources used by this instance.
(Inherited from ChartNode)
Public methodSetPredefinedLightingScheme Set a predefined lighting scheme.
Public methodWheelScrolled Mouse wheel scrolled.
(Overrides ViewBaseWheelScrolled(UserInteractiveDeviceEventArgs, LightningChart))
Public methodZoomToFit Zooms the view so that the data is visible at maximum possible size.

Area is either the full drawing area inside Margins or area which is further limited by ZoomPadding, depending on case. For more information, see options at ZoomArea3D.

Top
Events
 NameDescription
Public eventMarginsChanged Margins changed.
(Inherited from ViewBase)
Public eventValueChangedInternallyEvent Value has changed internally by chart or by user manipulation of chart object.
(Inherited from ChartNode)
Top
Fields
 NameDescription
Public fieldStatic memberAutoSizeMarginsProperty Identifies the dependency property for automatically sizing margins of the chart.
Public fieldStatic memberBorderProperty Identifies the Border dependency property.
Public fieldStatic memberCameraProperty Identifies the Camera dependency property.
Public fieldStatic memberDimensionsProperty Identifies the Dimensions dependency property.
Top
See Also