Class View2D
- Namespace
- LightningChartLib.WinForms.Charting.Views
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
XY graph view. Allows super-fast drawing of lines and bars.
[TypeConverter(typeof(ExpandableObjectConverter))]
public abstract class View2D : ViewBase, IChartNode, IDisposable
- Inheritance
-
View2D
- Implements
- Derived
- Inherited Members
Constructors
View2D()
Constructor.
public View2D()
View2D(LightningChart)
Constructor.
public View2D(LightningChart owner)
Parameters
ownerLightningChartparam owner M:LightningChartLib.WinForms.Charting.Views.View2D.#ctor(LightningChartLib.WinForms.Charting.LightningChart)
Properties
GraphBackground
Graph background fill
public Fill GraphBackground { get; set; }
Property Value
Methods
CreateZoomPanOptions()
Create zoom pan options
protected abstract void CreateZoomPanOptions()
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.
FreeZoomDrawData()
Free Zoom data
protected virtual void FreeZoomDrawData()
GetMarginsRect(bool)
Gets a rectangle defining the area inside margins in DIPs.
public Rectangle GetMarginsRect(bool useDIP = true)
Parameters
useDIPboolparam useDIP M:LightningChartLib.WinForms.Charting.Views.View2D.GetMarginsRect(System.Boolean)
Returns
- Rectangle
Surrounding rectangle.
SetGraphBackground(Fill)
Graph background filling
protected void SetGraphBackground(Fill value)
Parameters
valueFillparam value M:LightningChartLib.WinForms.Charting.Views.View2D.SetGraphBackground(LightningChartLib.WinForms.Charting.Fill)