Version

Modifying and Saving a Preset

You can modify and save a Gauge preset through the Gauge Designer. This allows you to customize the presets to suit your own needs. For example, you can change the color of a preset to blend in with your own application.

To modify and save a preset:

  1. From the toolbox, drag the UltraGauge control to your form. The Gauge Designer opens.

The gauge designer for WebGauge.
  1. On the toolbar, click Choose a Preset. The Gauge Presets dialog box opens with the Radial tab selected by default.

The available radial gauge presets.
  1. Select a predefined Radial gauge. When the Load Preset message appears, click OK. Your gauge appears in the interactive preview area.

The gauge designer with a radial gauge with a preset showing in the preview area.
  1. In the Gauge Explorer, expand Gauges, then Radial Gauge and select Dial.

  2. In the Properties panel, click the Appearance tab.

The gauge designer with the gauge explorer expanded down to the dial
  1. In the Brush pane, edit the existing brush elements' colors by selecting the right-hand drop-down lists. For more information about brush elements, see Apply Brush Elements Using WebGauge Designer.

  2. Set the color of the first brush element to blend from 240, 240, 240 to 89, 89, 89, with one stop:

    • Stop at 0.4 - Color set to 210,210,210\.

  1. Delete the second brush element by clicking on the cross (x) icon.

  2. Set the color of the third brush element to blend from transparent to 0, 174, 209, with three stops:

    • Stop at 0.0354 - Color set to 180, 180, 180

    • Stop at 0.041 - Color set to 240, 240, 240

    • Stop at 0.058 - Color set to 0, 79, 118

  1. In the Stroke pane, select None from the upper-left drop-down list.

The gauge designer showing the new styled gauge.
  1. On the toolbar, click Save As Preset.

  2. In the Save As Preset dialog box, specify a name and location for your preset, and click Save. Your preset is now saved so that you can use it later to apply to another Gauge control.