XY Chart NET 3 Control Reference
AbsMaxXValue Property

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

Syntax
[Visual Basic]
ReadOnly Property AbsMaxXValue(XAxisNumber As Integer) As Double
[C#]
double XYChartNETCtl.get_AbsMaxXValue(int XAxisNumber)
[C++]
property double 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.

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.

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
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

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
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

double tmpMin;
double tmpMax;

tmpMin = XYChartNETCtl1->AbsMinXValue[0];  //Get the absolute min value for x-axis 0
tmpMax = XYChartNETCtl1->AbsMaxXValue[0];  //Get the absolute max value for x-axis 0
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.