Click or drag to resize

ViewRoundBase Class

LightningChart .NET Help
Base class for all round views. These are Smith -and Polar views.
Inheritance Hierarchy

Namespace: LightningChartLib.UWP.ChartingMVVM.Views.ViewRound
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 ViewRoundBase : View2D

The ViewRoundBase type exposes the following members.

Properties
 NameDescription
Public propertyAutoSizeMargins Automatically size margins based on LegendBox position and size. This is a dependency property.
Public propertyBorder Border options
Public propertyGraphBackground Gets or sets graph background fill. This is a dependency property.
(Inherited from View2D)
Public propertyMargins Gets or sets margins between control's edges and for example graph area borders in DIPs. This is a dependency property.
Public propertyZoomScale Current zooming scale. 1 is the deafult zoom that shows the circle at it's maximum size so that it just fills the view area reduced by the margins.
Top
Methods
 NameDescription
Public methodCoordsToUCValue(PointFloat, Boolean) Convert absolute screen coordinates to relative unit circle coordinates.
Public methodCoordsToUCValue(PointFloat, Boolean) Convert absolute screen coordinates to relative unit circle coordinates. The given pointfloat is modified.
Public methodDispose Release all resources used by this instance.
(Inherited from ChartNode)
Public methodFreeMarkersDrawData Free marker draw data.
Public methodGetChartDiameterAndCenter Get Smith or Polar charts outer diameter and center point in screen coordinates.
Public methodGetMarginsRect Gets a rectangle defining the area inside margins in DIPs.
(Inherited from View2D)
Public methodToString Convert class description to string
Public methodUCValueToCoord(PointFloat, Boolean) Convert relative unit circle coordinates to absolute screen coordinates.
Public methodUCValueToCoord(PointFloat, Boolean) Convert relative unit circle coordinates to absolute screen coordinates. The given pointfloat is modified.
Public methodUCValueToCoord(PointUnitCircle, Boolean) Convert relative unit circle coordinates to absolute screen coordinates.
Public methodWheelScrolled Mouse wheel has been scrolled.
(Overrides ViewBaseWheelScrolled(UserInteractiveDeviceEventArgs, LightningChart))
Public methodZoom Zoom the chart in or out. If stop point X is greater than start point X, zooms in. If stop point X is less than start point X action follows RightToLeftZoom property.
Public methodZoomByFactor Zoom by given factor and around given view center as DIP or screen coordinates.
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 are further limited by ZoomPadding, depending on case. For more information, see options at ZoomAreaRound.

Public methodZoomToLabelsArea Zooms the round view so that labels area is fitted to area inside ZoomPadding.

Publicly accessible via ZoomToFit(ZoomAreaRound) method and ZoomToData.

Top
Events
 NameDescription
Public eventBeforePanning Panning is about to start.
Public eventBeforeZooming Zooming is about to start.
Public eventMarginsChanged Margins changed.
(Inherited from ViewBase)
Public eventPanned Panning has ended.
Public eventValueChangedInternallyEvent Value has changed internally by chart or by user manipulation of chart object.
(Inherited from ChartNode)
Public eventZoomed Zooming has ended.
Top
Fields
 NameDescription
Public fieldStatic memberAutoSizeMarginsProperty Identifies the dependency property for automatically sizing margins of the chart.
Public fieldStatic memberBorderProperty Identifies the dependency property for Border.
Public fieldStatic memberMarginsProperty Identifies the Margins dependency property.
Public fieldStatic memberZoomScaleProperty Identifies the Axes dependency property.
Top
See Also