Dela via


How to: Set a Snapping Interval on a Gauge

A snapping interval defines the multiple to which values are rounded. By default, the gauge will point to the exact value of the field you have specified in the data field drop-zone. However, you may want to round the exact value up or down so that the pointer will snap to a preset interval. For example, if the value on your gauge is 34.2 and you specify a snapping interval of 5, the gauge pointer will point to 35. If the value on your gauge is 31.2 and you specify a snapping interval of 5, the gauge pointer will point to 30.

To set a snapping interval on a gauge

  1. Click anywhere on the numbers of the gauge to highlight the scale.

  2. Open the Properties pane.

  3. In the Pointers property, click the (…) button. The Pointer Collection Editor opens.

  4. Set the SnappingEnabled property to True.

  5. Set the SnappingInterval to a value that represents the snapping interval. The pointer will be snapped to the nearest round multiple of the value that you have specified.