CHAPTER 5 IMPLEMENTING DASHBOARD STYLE REPORT OBJECTS
Listing 5-2. RDL Output for Image
<Image Name="image1">
<ZIndex>10</ZIndex>
<Top>0.375in</Top>
<MIMEType>image/jpeg</MIMEType>
<Height>0.75in</Height>
<Width>0.75in</Width>
<Source>Database</Source>
<Style />
<Value>=Fields!DocumentImage.Value</Value>
<Left>2.875in</Left>
<Sizing>AutoSize</Sizing>
</Image>
The completed Image object report is called Images.rdl and is located in the Pro_SSRS project.
Implementing a Gauge
Gauges, although new in SSRS 2008, were available as a third-party add-in in SSRS 2005. However, such
third-party add-ins had to be purchased separately. In SSRS 2008 and above, gauges are included by
default and provide functionality that goes beyond standard charting. One nice thing about the gauge
controls is that, while they add an aesthetic appeal to any report— a certain sexiness, if you will—they
are also compact and provide an at-a-glance view of data that is so often important for business
executives who only want to see highs and lows, ups and downs. With gauges, any value can have a
threshold, and this threshold can be visually realized in the control itself.
Begin by opening the Gauge Start.rdl report included in the solution. Double-click the Gauge
control in the Toolbox. The Select Gauge Type window will open displaying all of the available gauges.
You have two types of gauges to choose from: Radial or Linear. As the names indicate, Radial gauges are
round, like the speedometer in your car, and Linear gauges are straight, much like a standard
thermometer. For this example, choose the 180 Degrees North gauge, as shown in Figure 5-9.