Dundas Gauge for Reporting Services Send comments on this topic
Main Elements of Dundas Gauge
See Also

Glossary Item Box

Overview

This topic describes the main elements that constitute Dundas Gauge for Reporting Services™. Please refer to the figure below for a graphical representation of these main gauge elements.

Main Elements of Gauge

Figure 1: Main Elements of Dundas Gauge for Reporting Services™.

 

Using the Properties Window of Visual Studio .NET to set the properties of the Gauge control will no effect on the Gauge. To set the properties of the Gauge control, please use the dialogs provided.

Gauge Control

The Gauge control is used to display gauge elements (e.g. circular and linear gauges, state indicators, numerical indicators, etc.).

Each instance of the control on a report has one main gauge, and the type of this main gauge is determined when using the wizard. Once created the type of the main gauge cannot be changed.

 

For further details on the control see the Gauge Control topic.

Circular Gauges

A circular gauge can display multiple scales, pointers and ranges. It also has a pivot point, around which all of its associated objects are drawn (this also determines the point around which needle pointers rotate).

The pointers that belong to a circular gauge have values. In otherwards, the gauge object itself does not have values assigned to it.

 

For further details see the Circular And Linear Gauges topic.

Linear Gauges

A linear gauge can display multiple scales, pointers and ranges. It can also have a horizontal, vertical, or automatically calculated orientation.

The pointers that belong to a circular gauge have values. In otherwards, the gauge object itself does not have values assigned to it.

 

For further details see the Circular And Linear Gauges topic.

Pointer Types and Pointer Values

Pointers are gauge elements that indicate, or point, to some value that is present on their gauge's scale. There are 4 types of pointers, and 3 ways in which their values can be set.

Pointer Types

The 4 types of pointers, as defined by a pointer's Type property include the following:

  1. The Needle pointer (circular gauges only). Needle pointers are commonly used to point to the values of a circular gauge's scale.
  2. The Marker pointer. Marker pointers, which can be used for both circular and linear gauges, have a wide variety of marker styles (e.g. diamond, rectangle, triangle, etc.).
  3. The Bar pointer. Bar pointers, which can be used for both circular and linear gauges, also have several pre-defined styles. Their starting point, set by the BarStart property, can be either zero or the start of the scale. Bar pointers at a first glance appear to be similar to ranges, however, it is important to note that, unlike ranges, bar pointers have values.
  4. The Thermometer pointer. (linear gauges only)

 

For more information, see the topics on Linear Pointers or Circular Pointers.

Pointer Values

The 3 ways in which a pointer's value can be set are shown below, starting with the most simple method first.

 

A pointer's value can be set using:

  1. The Pointer Value in the Data Tab of the Wizard dialog.
  2. The Pointer Value in the Pointers Tab of the Gauge Designer dialog.
  3. The Value or ValueSource properties of a CircularPointer or LinearPointer object programmatically by using the Code Editor.

 

For more information see the Overview of Adding Data topic.

Scales

Scales display a range of possible values that are "pointed" to by pointers.  There are two types of scales: linear and circular.

All scales have the following characteristics in common:

Linear scales have the following unique attributes:

Circular scales have the following unique attributes:

 

For further details see the Scales topic.

Numeric Indicators

Numeric indicators are objects that visually represent some numerical data.

All indicators:

Numeric indicators can be formatted, and can optionally have a Range object associated with them.

For further details see the Numeric Indicators topic.

State Indicators

State indicators indicate some sort of state, and or either on or off, true or false, etc.

All state indicators:

State indicators have a collection of  State objects.  These objects have a start and end value, and if the value of the indicator falls within one of the ranges the indicator is considered to be "on".

 

For further details see the State Indicators topic.

Ranges

Ranges are objects that highlight a range of values, and:

 

For further details see the Ranges topic.

Gauge Labels and Scale Labels

There are two main types of labels:

  1. Labels for scales. There are standard labels used along the scale, whose position is determined by the scale's interval.  The scale can also have custom labels that can be positioned anywhere along the scale.
  2. Gauge labels that are stored in the control's Labels property. These labels can be displayed anywhere within the gauge container.

 

For further details see the Labels topic.

Images

Images can be implemented in several different ways:

  1. Top image: one top image can be specified for the gauge container using the TopImage property.  This image is used as an overlay (e.g. skin) for the entire container.
  2. Gauge control images: the gauge control can have gauge images displayed anywhere within the control. These images support transparency, and are stored in the control's Images property. 

    These images can optionally have a parent object that will then affect their coordinate system (i.e. positioning properties).  
  3. Gauge element images: various gauge elements can use an image via their Image property. For example, a pointer can display a custom image, in which case the image is then used to point to values along a scale.
Specifying an Image

Image properties of gauge elements can be set by specifying either the URL or pathname of an image saved to disk.

 

For further details see the Images topic.

See Also

©2008. All Rights Reserved.