Use this property to obtain the current minimum y-value, of a specific y-axis, displayed on the graph. The value returned is of type Double.
[Visual Basic] ReadOnly Property MinYValue(YAxisNumber As Integer) As Double [C#] double XYChartNETCtl.get_MinYValue(int YAxisNumber) [C++] double get_MinYValue(int)
This property can be used to obtain the current minimum y-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. The following code is invoked after a zoom-in has occurred.
[Visual Basic] Dim idx As Integer Dim tmpMin As Double Dim tmpMax As Double For idx = 0 To XYChartNETCtl1.NumYScales - 1 tmpMin = XYChartNETCtl1.MinYValue(idx) 'Get the current min value for the specified y-axis tmpMax = XYChartNETCtl1.MaxYValue(idx) 'Get the current max value for the specified y-axis Next idx [C#] double tmpMin; double tmpMax; tmpMin = XYChartNETCtl1.get_MinYValue(1); //Get the current min value for y-axis 1 tmpMax = XYChartNETCtl1.get_MaxYValue(1); //Get the current max value for y-axis 1 [C++] double tmpMin; double tmpMax; tmpMin = XYChartNETCtl1->get_MinYValue(0); //Get the current min value for y-axis 0 tmpMax = XYChartNETCtl1->get_MaxYValue(0); //Get the current max value for y-axis 0