AxisYFit Method (Double, 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
Syntaxpublic void Fit(
double marginPercents,
out bool scaleChanged,
bool thorough,
bool ignoreLogZeros,
double limitMinimum,
double limitMaximum
)
Public Sub Fit (
marginPercents As Double,
<OutAttribute> ByRef scaleChanged As Boolean,
thorough As Boolean,
ignoreLogZeros As Boolean,
limitMinimum As Double,
limitMaximum As Double
)
public:
void Fit(
double marginPercents,
[OutAttribute] bool% scaleChanged,
bool thorough,
bool ignoreLogZeros,
double limitMinimum,
double limitMaximum
)
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. - 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