Class AutoYFit
- Namespace
- LightningChartLib.WinForms.Charting.Views.ViewXY
- Assembly
- LightningChart.WinForms.Charting.NET4.dll
Auto Y scale fit options class.
[TypeConverter(typeof(ExpandableObjectConverter))]
public class AutoYFit : ChartNode, IChartNode, IDisposable
- Inheritance
-
AutoYFit
- Implements
- Inherited Members
Constructors
AutoYFit()
Constructor for Form editor.
public AutoYFit()
AutoYFit(IChartNode)
Constructor.
public AutoYFit(IChartNode owner)
Parameters
ownerIChartNodeParent.
Properties
Enabled
Is automatic Y fitting enabled
public bool Enabled { get; set; }
Property Value
MarginPercents
Margin in percents of min...max range. Using some margin leaves a gap between series and axis minimum and maximum values.
public double MarginPercents { get; set; }
Property Value
TargetAllYAxes
If this is set, auto Y fit is done for all Y axes. If this is not set, auto Y fit targets only Y axes having AllowAutoYFit true.
public bool TargetAllYAxes { get; set; }
Property Value
Thorough
By using thorough detect method, all series point in visible X range are searched, resulting to accurate fitting, but with cost of extra CPU load. If the detection is not thorough, fitting is not always accurate in real-time monitoring usage.
public bool Thorough { get; set; }
Property Value
UpdateInterval
Auto Y scale update interval in milliseconds
public uint UpdateInterval { get; set; }
Property Value
Methods
Dispose(bool)
Clean up any resources being used.
protected override void Dispose(bool disposing)
Parameters
disposingbooltrue if managed resources should be disposed, otherwise false.
ToString()
Convert class description to string.
public override string ToString()
Returns
- string
Class description as a string.