Skip to main content
All docs
V24.2

Custom Interactivity in the WinForms Dashboard

  • 2 minutes to read

You can implement custom interactivity for data-bound dashboard items along with built-in interactivity such as master filter and drill-down.

Dashboard Item Interactivity

You can use the DashboardDesigner.DashboardItemVisualInteractivity event to create element selection and highlighting for the following data-bound dashboard items:

Dashboard Item

Target Axes

Selection

Highlighting

GridDashboardItem

DashboardDataAxisNames.DefaultAxis

Dashboard_GreenTick

ChartDashboardItem

DashboardDataAxisNames.ChartArgumentAxis

DashboardDataAxisNames.ChartSeriesAxis

Dashboard_GreenTick

Dashboard_GreenTick

ScatterChartDashboardItem

DashboardDataAxisNames.ChartArgumentAxis

Dashboard_GreenTick

Dashboard_GreenTick

PieDashboardItem

DashboardDataAxisNames.ChartArgumentAxis

DashboardDataAxisNames.ChartSeriesAxis

Dashboard_GreenTick

Dashboard_GreenTick

CardDashboardItem

DashboardDataAxisNames.DefaultAxis

Dashboard_GreenTick

Dashboard_GreenTick

GaugeDashboardItem

DashboardDataAxisNames.DefaultAxis

Dashboard_GreenTick

Dashboard_GreenTick

MapDashboardItem

DashboardDataAxisNames.DefaultAxis

Dashboard_GreenTick

TreemapDashboardItem

DashboardDataAxisNames.DefaultAxis

Dashboard_GreenTick

Dashboard_GreenTick

Note

A Grid dashboard item with enabled Cell Merging does not support custom interactivity.

Custom Item Interactivity

You can implement such interactivity as master filter and drill-down for custom dashboard items. The corresponding buttons appear in the Data ribbon tab page’s Interactivity group for a custom item.

Refer to the following tutorial for more information on how to configure master filter and drill-down for the custom Funnel item: Create an Interactive Data-Aware Item for the WinForms Dashboard.

Item Click

You can use the following API to handle mouse actions and get information about clicked elements:

API Description
DashboardDesigner.DashboardItemClick Occurs when an end-user clicks a dashboard item.
DashboardDesigner.DashboardItemDoubleClick Occurs when an end-user double-clicks a dashboard item.
DashboardDesigner.DashboardItemMouseDown Occurs when the mouse pointer is over the dashboard item and a mouse button is pressed.
DashboardDesigner.DashboardItemMouseUp Occurs when the mouse pointer is over the dashboard item and a mouse button is released.
DashboardDesigner.DashboardItemMouseEnter Occurs when the mouse pointer enters the dashboard item.
DashboardDesigner.DashboardItemMouseLeave Occurs when the mouse pointer leaves the dashboard item.
DashboardDesigner.DashboardItemMouseHover Occurs when the mouse pointer rests on the dashboard item.
DashboardDesigner.DashboardItemMouseMove Occurs when the mouse pointer is moved over the dashboard item.
See Also