416.467.9100 | Dundas Data Visualization | Login
Welcome Guest
This is the support page for the legacy Dundas Dashboard application. For assistance with the current Dundas BI application please click here.
Dashboard v5.0

This site makes extensive use of JavaScript.

Please enable JavaScript in your web browser and reload the page before proceeding.

Sparkline - Interactions

Hide navigation
RSS
Modified on Fri, 01 Mar 2013 12:31 PM Categorized as Data Controls, Sparkline
Click to return to: Documentation | Designing Dashboards | DV Controls | Sparkline


Interactions

Click

The Click interaction lets you respond to mouse clicks on the control.

Arguments:


The VisualElementArgs property of e is the DashboardSparkline that was clicked. Multiple sparklines may be displayed by sender when displaying a KPI with a splitter dimension.

Context Click

The Context Click interaction lets you respond when the right mouse button is released.

Arguments:


The VisualElementArgs property of e is the DashboardSparkline over which the mouse right button was released. Multiple sparklines may be displayed by sender when displaying a KPI with a splitter dimension.

This interaction is also used to call up the context menu, so setting the Handled property of e to true prevents the context menu from appearing, otherwise the commands visible in the context menu can be customized using the ContextCommands property of e.

Hover

The Hover interaction lets you respond to the user “hovering” their mouse over the control.

Arguments:


The VisualElementArgs property of e is the DashboardSparkline that was hovered over. Multiple sparklines may be displayed by sender when displaying a KPI with a splitter dimension.

Mouse Enter

The Mouse Enter interaction lets you respond to the user moving the mouse into the control's area.

ImageThis is an Advanced property.

Arguments:


The VisualElementArgs property of e is the DashboardSparkline that the mouse entered. Multiple sparklines may be displayed by sender when displaying a KPI with a splitter dimension.

Mouse Leave

The Mouse Leave interaction lets you respond to the user moving the mouse out of the control's area.

ImageThis is an Advanced property.

Arguments:


The VisualElementArgs property of e is the DashboardSparkline that the mouse left. Multiple sparklines may be displayed by sender when displaying a KPI with a splitter dimension.

Note: The Mouse Leave event occurs whenever the mouse is no longer directly over the control. For example, if you displayed a message (via the services.ShowMessage method) that appeared under the mouse, the Mouse Leave event would occur even though the mouse hasn't moved.

Mouse Move

The Mouse Move interaction lets you respond to mouse movements in the control's area.

ImageThis is an Advanced property.

Arguments:


The VisualElementArgs property of e is the DashboardSparkline that the mouse moved over. Multiple sparklines may be displayed by sender when displaying a KPI with a splitter dimension.

Mouse Right Down

The Mouse Right Button Down interaction lets you respond when the right mouse button is pressed on the control.

ImageThis is an Advanced property.

Arguments:


The VisualElementArgs property of e is the DashboardSparkline over which the mouse right button was pressed. Multiple sparklines may be displayed by sender when displaying a KPI with a splitter dimension.

Mouse Up

The Mouse Up interaction lets you respond when the left mouse button is released on the control.

ImageThis is an Advanced property.

Arguments:


The VisualElementArgs property of e is the DashboardSparkline over which the mouse left button was released. Multiple sparklines may be displayed by sender when displaying a KPI with a splitter dimension.

On Data Changed

The On Data Changed interaction lets you respond to changes in the control's underlying data.

These interactions run when the data changes in this data visualization control. This could be from a parameter change, or a real-time update. The real-time updates will cause this interaction to fire on the timer, regardless of whether the actual data changed.

Tip: On Data Changed happens only once per update, not once per changed data point. It will also happen if the values did not change.

ImageThis is an Advanced property.

Arguments:


On Layout Updated

The On Layout Updated interaction lets you respond when the layout is updated in the control.

This interaction fires in the same scenarios as the On Data Changed interaction with the exception that it is fired after the control has processed the updated data.

ImageThis is an Advanced property.

Arguments:


Related topics


Click to return to: Documentation | Designing Dashboards | DV Controls | Sparkline

About Dundas | Contact Us Follow us on Twitter! | Privacy Statement | Report Site Issues

Copyright © 2009-2014 Dundas Data Visualization, Inc.