Click or drag to resize

AxisYFit Method (Int32, Boolean, Boolean, Boolean, Double, Double)

LightningChart .NET Help
Fit axis minimum and maximum to show all series values, while keeping the range withing given limits. Note that first argument's value type defines Margin's units (Pixels or Percents).

Namespace:  Arction.Wpf.Charting.Axes
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public void Fit(
	int marginPixels,
	out bool scaleChanged,
	bool thorough,
	bool ignoreLogZeros,
	double limitMinimum,
	double limitMaximum
)

Parameters

marginPixels
Type: SystemInt32
Margin to leave between data and segment boundaries, in pixels 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.
limitMinimum
Type: SystemDouble
Minimum limit. If detected minimum is below limit minimum, the limit applies.
limitMaximum
Type: SystemDouble
Maximum limit. If detected minimum is below limit minimum, the limit applies.
See Also