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