' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.
Private Sub XYChartNETCtl1_XScroll() Handles XYChartNETCtl1.XScroll
Dim newMinX as Double, newMaxX as Double
newMinX = XYChartNETCtl1.MinXValue(0) 'Obtain min x-value (of first x-axis) of scrolled area
newMaxX = XYChartNETCtl1.MaxXValue(0) 'Obtain max x-value (of first x-axis) of scrolled area
End Sub
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.
private void XYChartNETCtl1_XScroll()
{
double newMinX;
double newMaxX;
newMinX = XYChartNETCtl1.get_MinXValue(0); //Obtain min x-value (of first x-axis) of scrolled area
newMaxX = XYChartNETCtl1.get_MaxXValue(0); //Obtain max x-value (of first x-axis) of scrolled area
}
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.
private:
System::Void XYChartNETCtl1_XScroll()
{
double newMinX;
double newMaxX;
newMinX = XYChartNETCtl1->get_MinXValue(0); //Obtain min x-value (of first x-axis) of scrolled area
newMaxX = XYChartNETCtl1->get_MaxXValue(0); //Obtain max x-value (of first x-axis) of scrolled area
}