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.Wpf.ChartingMVVM.Axes
Assembly:
Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntaxpublic void Fit(
double marginPercents,
out bool scaleChanged,
bool thorough,
bool ignoreLogZeros
)
Public Sub Fit (
marginPercents As Double,
<OutAttribute> ByRef scaleChanged As Boolean,
thorough As Boolean,
ignoreLogZeros As Boolean
)
public:
void Fit(
double marginPercents,
[OutAttribute] 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