AbsMaxXValue Property

Use this property to return the absolute maximum x-value of a specific x-axis.

[Visual Basic]
ReadOnly Property AbsMaxXValue(XAxisNumber As Integer) As Double
[C#]
double XYChartNETCtl.get_AbsMaxXValue(int XAxisNumber)
[C++]
double get_AbsMaxXValue(int)

Parameters

XAxisNumber
The x-axis index to obtain the absolute maximum value of.  Valid values are 0..(NumXScales - 1).

Remarks

Absolute maximum is the highest value that is displayed on the graph for the specified x-axis. The value returned is of type Double.

Note   This property is read-only and should only be called after a Refresh call has been made.

Example

XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

[Visual Basic]
Dim tmpMin As Double
Dim tmpMax As Double

tmpMin = XYChartNETCtl1.AbsMinXValue(2)  'Get the absolute min value for x-axis 2
tmpMax = XYChartNETCtl1.AbsMaxXValue(2)  'Get the absolute max value for x-axis 2

[C#]
double tmpMin;
double tmpMax;

tmpMin = XYChartNETCtl1.get_AbsMinXValue(1);  //Get the absolute min value for x-axis 1
tmpMax = XYChartNETCtl1.get_AbsMaxXValue(1);  //Get the absolute max value for x-axis 1

[C++]
double tmpMin;
double tmpMax;

tmpMin = XYChartNETCtl1->get_AbsMinXValue(0);  //Get the absolute min value for x-axis 0
tmpMax = XYChartNETCtl1->get_AbsMaxXValue(0);  //Get the absolute max value for x-axis 0

See Also

Properties | AbsMinXValue