MS SQL Server
  Home arrow MS SQL Server arrow Page 5 - Creating a Chart with SQL 2000 Reporting S...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Moblin 
JMSL Numerical Library 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
MS SQL SERVER

Creating a Chart with SQL 2000 Reporting Services
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 3 stars3 stars3 stars3 stars3 stars / 13
    2005-04-25

    Table of Contents:
  • Creating a Chart with SQL 2000 Reporting Services
  • Choosing Data for the Chart
  • Creating a Report Project in Visual Studio .NET IDE
  • Configuring the DataSet
  • Configuring the Layout
  • Configuring Chart Axes and Customizing

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Creating a Chart with SQL 2000 Reporting Services - Configuring the Layout


    (Page 5 of 6 )

    Report related items are added to the toolbox when RS is installed on a system on which VS.NET 2003 is installed. These items are shown in the next picture. When a new report is created, the layout just consists of a body onto which items from the Report menu can be draggged and dropped.

    In this case, as we will be looking at a tabular structure, a table item is added to the Body as shown. The table comes with a 3 x 3 structure by default. You may add more columns as shown (right click the last column and pick up the item you like). There will be header, data, and  footer rows. The header and footer are for static information, but may be modifed to hold some dynamic content. The data is populated from the data pulled from the source.

    To assist in populating the data in the table, a fieldlist item is also produced when the dataset is created. From the field list box, items can be dragged and dropped onto the table [reminiscent of the DataEnvironment in VS6.0]. For example, the item t can be dropped to the first column, second row to reference the data bound item Fields!t.Value, the letter t will be automatically added to the first row, first column and so on.

    To add the third item, a extra column has to be appended to the default. At this stage it is possible to preview the report by clicking the preview tab. Depending on the amount of data, it can take some time. There is also a "cache" feature which may be utilized to bring data from the "cache." Please refer to the references cited earlier for more details.

    Adding a Chart for Data Display

    The previously mentioned chart control can be dragged and dropped below the tabulation in the body as shown here. It is resizable in both directions by dragging the handles. By right clicking the chart, its properties can be customized. There are a lot of features that can be customized, and they are of a nature similar to what one can do in Excel. Here, once again the basics are stressed.

    More MS SQL Server Articles
    More By Jayaram Krishnaswamy


     

    MS SQL SERVER ARTICLES

    - Completing the Introduction to Transact-SQL
    - A Brief Introduction to Transact-SQL
    - Lookups and Blocking Bad Data
    - Field Validation Rules for Blocking Bad Data
    - Using Masks to Block Bad Data
    - Blocking Bad Data
    - Using @@ROWCOUNT and TABLE Variables for Dat...
    - How to Use Variables, IF and CASE in Databas...
    - Creating Important Aspects of Notification S...
    - Working wth Variables in Database Interactio...
    - Delving Deeper into Notification Services
    - Notification Services
    - Building a Multi-table Report with SQL 2005 ...
    - A Secure Way of Building Connection Strings
    - Transferring a Database Using the SSIS Desig...





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway