AxisScaleView.Zoom Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기