XY Chart NET 3 Control Reference
ZoomOutAllSelected Event

This event is generated when the user selects the Zoom out all button from the Toolbar or calls the SetZoomOutAll method.  Use this event to perform operations before a zoom-out-all is performed, that is, before the chart is redrawn to the zoom-out-all state.

Syntax
[Visual Basic]
Event ZoomOutAllSelected()
[C#]
ZoomOutAllSelected()
[C++]
ZoomOutAllSelected()
       
Example
' XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

Private Sub XYChartNETCtl1_ZoomOutAllSelected() Handles XYChartNETCtl1.ZoomOutAllSelected
   XYChartNETCtl1.Profile(1).SampleStep = 2  'Display every other datapoint for Profile 1
End Sub
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

private void XYChartNETCtl1_ZoomOutAllSelected()
{
    XYChartNETCtl1.get_Profile(1).SampleStep = 2;  //Display every other datapoint for Profile 1
}
// XYChartNETCtl1 is the name of the XY Chart NET control instance placed on the form.

private:
    System::Void XYChartNETCtl1_ZoomOutAllSelected()
    {
       XYChartNETCtl1->get_Profile(1)->SampleStep = 2;  //Display every other datapoint for Profile 1
    }
See Also

 

 


© 2003 - 2013 ControlEng Corporation. All rights reserved.