Dundas Gauge for Reporting Services Send comments on this topic
Using The Gauge Control
See Also

Glossary Item Box

The following describes the three methods by which gauge-related tasks can be accomplished, starting with the simplest method and ending with the most complex:

  1. Use the Report Designer dialogs, including the wizard (easiest method).
  2. Use the Advanced Tab of the Gauge Designer dialog.
  3. Use scripting in the Code Editor to perform tasks dynamically (most complex method).

     

    Note
    Do not use the Properties Window of Visual Studio to set properties of the Gauge control. Many of these properties have no effect, please use the dialogs instead.

     

Report Designer Dialogs

The report dialogs provide a UI for working with the Gauge control.

The following briefly lists and describes these dialogs:

Advanced Tab of the Gauge Designer Dialog

If the previous dialogs do not suffice then try the Advanced tab of the Gauge Designer dialog (see figure below), which exposes much of the control's API.

Use this tab by selecting a gauge object (click on an element displayed within the sample gauge or use the dropdown listbox) and then set that object's properties.

 

For more information see the Advanced Tab topic.


 
Advanced Tab

Figure 1: The Advanced tab of the Gauge Designer™ wizard.

 

Script in the Code Editor

Finally, if the Advanced tab does not offer the functionality needed then you can use the control's API and the Code Editor (see figure below).

You can write script (either C# or VB.NET) in the editor, which is then executed just before the control is rendered.

Use the Programmers Reference chapter in this documentation for a complete description of the control's API.

 

Code Editor
 
Figure 2: Use the Code Editor to write script, in either C# or VB.NET, to handle specific Gauge events.

 

For more information about scripting within the code editor, see the topic on the Code Editor.

See Also

Getting Started
Product Overview
Quick Start

HowTo Topics
Main Elements of Dundas Gauge

General Designer Topics
Code Editor

©2008. All Rights Reserved.