MinXValue

 

Use this property to obtain the current minimum x-value, of a specific x-axis, displayed on the graph.  Valid parameter values for MinXValue are 1..NumXScales.  The value returned is a double.

NOTE:  This property is read-only.

                                                                                                                                                                                                                                                                     

Example                                                    

'XYChartCtl1 is the name of the XY Chart control instance placed on the form

Private Sub XYChartCtl1_ZoomIn()

    Dim newMinX as Double, newMaxX as Double

 

    newMinX = XYChartCtl1.MinXValue(2)       'Obtain x-axis 2 minimum value

    newMaxX = XYChartCtl1.MaxXValue(2)       'Obtain x-axis 2 maximum value

End Sub

 

See Also

Properties         MaxXValue        MinYValue        MaxYValue     Events