Class ChartManager
- Namespace
- LightningChartLib.WinForms.Charting.ChartManager
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Chart manager handles charts co-operation.
public sealed class ChartManager : Component, IComponent, IDisposable
- Inheritance
-
ChartManager
- Implements
- Inherited Members
Constructors
ChartManager()
Creates and initializes a new instance of this class.
public ChartManager()
ChartManager(IContainer)
Creates and initializes a new instance of this class.
public ChartManager(IContainer container)
Parameters
containerIContainerThe component container.
Properties
Charts
List of charts to be coordinated. Don't add items with form designer. Instead, use ChartManager property for each chart to assign the manager.
public List<LightningChart> Charts { get; }
Property Value
MemoryGarbageCollecting
Use separate thread for forced garbage collection. Increases data drawing smoothness, but causes some extra CPU overhead. Recommended to be used with multi-core processors.
public bool MemoryGarbageCollecting { get; set; }
Property Value
Remarks
Do not change the state of this property very often. Keep a few seconds pause before you change the state.
Name
Name of the component
public string Name { get; set; }
Property Value
Methods
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposingbool
ToString()
Convert class description to string
public override string ToString()
Returns
- string
String
Events
SeriesDragFinished
Series dragging has finished on a chart, over an Y-axis.
public event ChartManager.SeriesDragFinishedHandler SeriesDragFinished
Event Type
SeriesDragStarted
Series dragging has started on a chart
public event ChartManager.SeriesDragStartedHandler SeriesDragStarted