XY Chart NET 3 Control Reference
MinXValue Property

Use this property to obtain the current minimum x-value, of a specific x-axis, displayed on the graph.  The value returned is of type Double.

Syntax
[Visual Basic]
ReadOnly Property MinXValue(XAxisNumber As Integer) As Double
[C#]
double XYChartNETCtl.get_MinXValue(int XAxisNumber)
[C++]
property double MinXValue[int]
       
Parameters
XAxisNumber
The x-axis index to obtain the current minimum value of.  Valid values are 0..(NumXScales - 1).
Remarks

This property can be used to obtain the current minimum x-value displayed on the graph after a zoom-in has occurred.

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.MinXValue(0)  'Get the current min value for x-axis 0
tmpMax = XYChartNETCtl1.MaxXValue(0)  'Get the current max value for x-axis 0
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

double tmpMin;
double tmpMax;

tmpMin = XYChartNETCtl1.get_MinXValue(1);  //Get the current min value for x-axis 1
tmpMax = XYChartNETCtl1.get_MaxXValue(1);  //Get the current 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->MinXValue[0];  //Get the current min value for x-axis 0
tmpMax = XYChartNETCtl1->MaxXValue[0];  //Get the current max value for x-axis 0
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.