XY Chart NET 3 Control Reference > Properties > 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.
[Visual Basic] ReadOnly Property MinXValue(XAxisNumber As Integer) As Double |
[C#] double XYChartNETCtl.get_MinXValue(int XAxisNumber) |
[C++] property double MinXValue[int] |
This property can be used to obtain the current minimum x-value displayed on the graph after a zoom-in has occurred.
' 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