Back to Devexpress

HeatmapControl.Scroll(HeatmapHorizontalScrollingDirection, HeatmapVerticalScrollingDirection) Method

windowsforms-devexpress-dot-xtracharts-dot-heatmap-dot-heatmapcontrol-dot-scroll-x28-heatmaphorizontalscrollingdirection-heatmapverticalscrollingdirection-x29.md

latest3.0 KB
Original Source

HeatmapControl.Scroll(HeatmapHorizontalScrollingDirection, HeatmapVerticalScrollingDirection) Method

Scrolls the heatmap diagram horizontally or/and vertically at 10 scroll units.

Namespace : DevExpress.XtraCharts.Heatmap

Assembly : DevExpress.XtraCharts.v25.2.UI.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
public void Scroll(
    HeatmapHorizontalScrollingDirection horizontalDirection,
    HeatmapVerticalScrollingDirection verticalDirection
)
vb
Public Sub Scroll(
    horizontalDirection As HeatmapHorizontalScrollingDirection,
    verticalDirection As HeatmapVerticalScrollingDirection
)

Parameters

NameTypeDescription
horizontalDirectionHeatmapHorizontalScrollingDirection

Specifies horizontal scroll direction.

| | verticalDirection | HeatmapVerticalScrollingDirection |

Specifies vertical scroll direction.

|

Remarks

A scroll unit is calculated as follows:

Enable the following properties to allow users to scroll and zoom a heatmap:

You can use the HeatmapControl.Scroll, HeatmapControl.ZoomIn and HeatmapControl.ZoomOut methods to scroll and zoom a heatmap programmatically.

After a heatmap is zoomed, you can call the Heatmap Control’s ResetZoom() method to reset the heatmap to the initial state (when the heatmap is not zoomed).

See Also

HeatmapControl Class

HeatmapControl Members

DevExpress.XtraCharts.Heatmap Namespace