Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

HeatmapControl.Scroll(HeatmapHorizontalScrollingDirection, HeatmapVerticalScrollingDirection) Method

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

Namespace: DevExpress.XtraCharts.Heatmap

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

NuGet Package: DevExpress.Win.Charts

#Declaration

public void Scroll(
    HeatmapHorizontalScrollingDirection horizontalDirection,
    HeatmapVerticalScrollingDirection verticalDirection
)

#Parameters

Name Type Description
horizontalDirection HeatmapHorizontalScrollingDirection

Specifies horizontal scroll direction.

verticalDirection HeatmapVerticalScrollingDirection

Specifies vertical scroll direction.

#Remarks

A scroll unit is calculated as follows:

Scroll unit formula

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