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.

DashboardDataGridSparklineColumn Class

Hide navigation
RSS
Modified on Thu, 06 Mar 2014 04:01 PM Categorized as Library Reference

A data grid sparkline column.

DashboardDataGridSparklineColumn is a DashboardDataGridDataColumn.

Properties

Common

ImageImageProperty Name [Script Name]TypeDescription
ImageAuto Scale [AutoScale]boolDetermines if the Y Axis min and max should be set based on the YMinimum and YMaximum properties or set automatically based on the data.
ImageSparkline [Sparkline]DashboardResizeableSparklineSparkline settings.

Data

ImageImageProperty Name [Script Name]TypeDescription
Data Source Type [DataSourceType]DashboardDataGridDataSourceTypeThe data source type. Cannot be changed for a Sparkline.
Y Value Data Column [YValueDataColumnId]GuidThe Y value data column.

Methods

DashboardDataGridSparklineColumn has the following methods.

GetSparklineDisplayElement

Get the dashboard sparkline associated with the given cell.


Arguments:

  • cell - The datagrid cell.

Note: This method is available in Dundas Dashboard 5.0.2 or later.

Example:

// Row Loaded interaction of data grid - get the row and cell. DashboardDataGridRow row = e.VisualElementArgs; DashboardDataGridCell cell = row.Cells1;

// Get the sparkline column. DashboardDataGridSparklineColumn column = cell.DashboardDataGridColumn;

// Get the sparkline given the cell. DashboardSparkline sparkline = column.GetSparklineDisplayElement(cell);

// Modify the appearance of the sparkline. sparkline.Background = new DashboardSolidColorBrush(Colors.Black);


Related topics


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

Copyright © 2009-2014 Dundas Data Visualization, Inc.