NChartValueAxisZoomToRegion Method (DateTimeOffset, DateTimeOffset, Single, Single) |
Zoom to given region by specifying the earliest and the latest dates that should be visible on the axis.
This method works in date mode only, if property HasDates is true.
Use this method after you updated data of the chart with UpdateData call.
Namespace:
NChart3D_UWP
Assembly:
NChart3D_UWP (in NChart3D_UWP.dll)
Syntax public void ZoomToRegion(
DateTimeOffset startDate,
DateTimeOffset endDate,
float duration,
float delay
)
Public Sub ZoomToRegion (
startDate As DateTimeOffset,
endDate As DateTimeOffset,
duration As Single,
delay As Single
)
public:
virtual void ZoomToRegion(
[InAttribute] DateTimeOffset^ startDate,
[InAttribute] DateTimeOffset^ endDate,
[InAttribute] float duration,
[InAttribute] float delay
) sealed
Parameters
- startDate
- Type: SystemDateTimeOffset
Earliest date that should be visible. - endDate
- Type: SystemDateTimeOffset
Latest date that should be visible. - duration
- Type: SystemSingle
Duration of the animation in seconds. - delay
- Type: SystemSingle
Delay of animation in seconds.
See Also