Click or drag to resize

AxisYFit Method (Double, Boolean, Boolean, Boolean)

LightningChart .NET Help
Fit axis minimum and maxium to show all series values. Note that first argument's value type defines Margin's units (Pixels or Percents).

Namespace:  Arction.WinForms.Charting.Axes
Assembly:  Arction.WinForms.Charting.LightningChart (in Arction.WinForms.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public void Fit(
	double marginPercents,
	out bool scaleChanged,
	bool thorough,
	bool ignoreLogZeros
)

Parameters

marginPercents
Type: SystemDouble
Margin to leave between axis minimum or maximum and series values, in percents of minimum...maximum range.
scaleChanged
Type: SystemBoolean
Method sets this true if Y-axis minimum or maximum has changed.
thorough
Type: SystemBoolean
If true, all series points are searched, resulting to better accuracy, but with a cost raised CPU load.
ignoreLogZeros
Type: SystemBoolean
Ignore zeros values from logarithmic axis fitting.
See Also