Share via


How to: Specify an Image as a Pointer on a Gauge

The gauge contains three built-in styles that can be used to customize the appearance of the pointer. If a unique pointer is required, the user can create and specify an image which can be used as a fully functional pointer.

When you are specifying an image for the pointer, your image must have the following specifications:

  • The origin of the pointer, or center of rotation, must be at the top of the image.

  • The end of the pointer must be pointing down.

Since the pointer is an irregular shape, you will need to specify a transparency color to hide the unnecessary portions of the image. Consider using a color that would not normally be shown on the gauge as the transparency color, since the colors specified will not appear on the gauge.

To specify an image as a pointer on the gauge

  1. In Design view, in the Report Data pane, right-click the Images node, and then click Add Image.

    Note

    If the Report Data pane is not visible, on the View tab, click Report Data.

  2. Add an image to your report. For more information, see How to: Embed an Image in a Report Definition (Reporting Services).

  3. Open the Properties pane.

  4. (Optional) If no pointer exists on the gauge, right-click on the gauge and select Add Pointer. A pointer is added to the gauge.

  5. On the design surface, click on the pointer. The properties for the pointer are displayed in the Properties pane.

  6. Expand the PointerImage node.

  7. In Source, select Embedded from the drop-down list.

    Note

    If your image is stored in the database or on the web, you can specify the appropriate option for this property. For more information, see Image Properties Dialog Box, General.

  8. In Value, select the name of your image from the drop-down list.

  9. In TransparentColor, pick a color value that you want to remove from the image. This will create a seamless appearance for the pointer in the gauge.