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.

DashboardDataGridBulletGraphColumn Class

Hide navigation
RSS
Modified on Mon, 30 Sep 2013 03:19 PM Categorized as Data Grid, Library Reference

A data grid bullet graph column.

DashboardDataGridBulletGraphColumn is a DashboardDataGridDataColumn.

Properties

Common

ImageImageProperty Name [Script Name]TypeDescription
ImageBullet Graph [BulletGraph]DashboardBulletGraphBullet Graph settings.
Bullet Graph Pointers [PointerSettings]ObservableCollection<DashboardDataGridBulletGraphColumnPointerSettings>Gets the pointer settings.

Methods

DashboardDataGridBulletGraphColumn has the following additional public methods.

GetBulletGraphDisplayElement

Get the dashboard bullet graph associated with this cell.


Where:

  • cell - The datagrid cell.

As an example, enter the following script in a Row Loaded interaction of a data grid in order to modify each element in a bullet graph column.

DashboardDataGridRow row = e.VisualElementArgs; foreach(DashboardDataGridCell cell in row.Cells) { if (cell.DashboardDataGridColumn.HeaderText == "BulletGraph") { // Get the bullet graph column for the cell. DashboardDataGridBulletGraphColumn bulletGraphColumn = cell.DashboardDataGridColumn;

// Get the bullet graph element in the cell. DashboardBulletGraph bulletGraph = bulletGraphColumn.GetBulletGraphDisplayElement(cell);

// Modify the bullet graph element. bulletGraph.Scales[0].Pointers[0].Fill = new DashboardSolidColorBrush(Colors.Brown); DashboardLinearRange range = new DashboardLinearRange(); range.StartValue = 100; range.EndValue = 200; range.Fill = new DashboardSolidColorBrush(Colors.Orange); bulletGraph.Scales[0].Ranges.Add(range); } }


Related topics


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

Copyright © 2009-2014 Dundas Data Visualization, Inc.