Edytuj

Udostępnij za pośrednictwem


AxisScaleView.Zoom Method

Definition

Sets a new axis data view and/or position.

Overloads

Zoom(Double, Double)

Sets a new axis data view and/or position based on the specified start and end values.

Zoom(Double, Double, DateTimeIntervalType)

Sets a new axis data view and/or position based on the specified start position, view size and unit of measurement.

Zoom(Double, Double, DateTimeIntervalType, Boolean)

Sets a new axis data view and/or position based on the specified start position, view size, unit of measurement and save state.

Zoom(Double, Double)

Sets a new axis data view and/or position based on the specified start and end values.

public:
 void Zoom(double viewStart, double viewEnd);
public void Zoom (double viewStart, double viewEnd);
member this.Zoom : double * double -> unit
Public Sub Zoom (viewStart As Double, viewEnd As Double)

Parameters

viewStart
Double

The new start position for the axis scale view.

viewEnd
Double

The new end position for the axis scale view.

Applies to

Zoom(Double, Double, DateTimeIntervalType)

Sets a new axis data view and/or position based on the specified start position, view size and unit of measurement.

public:
 void Zoom(double viewPosition, double viewSize, System::Windows::Forms::DataVisualization::Charting::DateTimeIntervalType viewSizeType);
public void Zoom (double viewPosition, double viewSize, System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType viewSizeType);
member this.Zoom : double * double * System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType -> unit
Public Sub Zoom (viewPosition As Double, viewSize As Double, viewSizeType As DateTimeIntervalType)

Parameters

viewPosition
Double

The new start position for the axis scale view.

viewSize
Double

The new size for the axis scale view.

viewSizeType
DateTimeIntervalType

The new unit of measurement of the size.

Applies to

Zoom(Double, Double, DateTimeIntervalType, Boolean)

Sets a new axis data view and/or position based on the specified start position, view size, unit of measurement and save state.

public:
 void Zoom(double viewPosition, double viewSize, System::Windows::Forms::DataVisualization::Charting::DateTimeIntervalType viewSizeType, bool saveState);
public void Zoom (double viewPosition, double viewSize, System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType viewSizeType, bool saveState);
member this.Zoom : double * double * System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType * bool -> unit
Public Sub Zoom (viewPosition As Double, viewSize As Double, viewSizeType As DateTimeIntervalType, saveState As Boolean)

Parameters

viewPosition
Double

The new start position for the axis scale view.

viewSize
Double

The new size for the axis scale view.

viewSizeType
DateTimeIntervalType

The new unit of measurement of the size.

saveState
Boolean

Indicates whether the current size and/or position must be saved.

Applies to