Verify Operation of the Chart Report
Let's ascertain the accuracy and completeness of our construction efforts. We will execute the report with the following steps:
1. Click the Preview tab, to the right of the Layout tab atop the design surface.
The new chart report generates, and appears as depicted in Illustration 26.
2. Click the Layout tab, once more.
3. Select File --> Save RS008_PieChart.rdl As ... from the main menu, as shown in Illustration 27.
Illustration 27: Resaving the Report .Rdl File
4. Resave the file, and then exit Visual Studio.net, when desired.
Through the forgoing steps, we have met the requirements of the information consumers within the AdventureWorks2000 Purchasing department. We have provided a pie chart report, which will lend itself readily to use in other Microsoft Office applications, and, ultimately, within other reports. We have also met the expressed need to analyze the concentration of our organizational vendors, by State, filtering upon the three specific states of interest.
In this article, we began our exploration of chart reports with an examination of one of the simplest, the pie chart. We stated that the pie chart is a good place to begin a review of the chart types, because it contains many of the basic features common to most chart types, without the distractions of many properties that appear in other chart types. We illustrated the use of the chart item within an illustrative exercise that involved helping a group of hypothetical information consumers meet a stated business need.
We created a blank report in Report Designer, added an underlying dataset, and then located a chart item onto the new report. We then populated the chart item with data, making use of the Data Label property, along with other properties, to add informational value to the report we created. Finally, after constructing the dataset and building and populating the chart report, we previewed the report and verified its operation as a whole.
» See All Articles by Columnist William E. Pearson, III
Discuss this article in the MSSQL Server 2000 Reporting Services Forum.