Microsoft Access
  Home arrow Microsoft Access arrow Page 3 - Creating Data Access Pages with Charts usi...
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? 
MICROSOFT ACCESS

Creating Data Access Pages with Charts using Office Web Components
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2007-01-10

    Table of Contents:
  • Creating Data Access Pages with Charts using Office Web Components
  • Monthly temperature chart for Princeton
  • Monthly temperature chart for Princeton continued
  • Creating an X-Y graph
  • Creating a Pie Chart

  • 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 Data Access Pages with Charts using Office Web Components - Monthly temperature chart for Princeton continued


    (Page 3 of 5 )

    When you choose the table, the field list corresponding to that table is added to accompany the page as shown. You may also place a check mark against  Plot detail records as shown.

    Another change that occurs is that the OWC shows some drop-down areas for the various fields. These are place holders for data that you drag and drop onto them from the field list.

    Click on the Month in the field list (if it is not visible just right click on the OWC and the list should pop up), then click on the Drop Categories Fields Here at the bottom of the OWC as shown. Also drag and drop the Temperature and RecHigh fields into the Drop Data Fields Here place holder location at the top.

    This changes the chart as shown in the next picture. You may also drop these fields inside the data area where the chart appears. If you need to remove them you may highlight so that it sprouts handles and then use the cut submenu from the Edit menu item.

    Now click on the OWC and from the drop-down menu click on the Commands and Options... menu item. This brings up the Commands and Options window as shown, with several tabs.

    In the General tab you can add multiple charts, as well as legends and titles.

    In the Borders/Fill tab you can make choices to make the chart very "jazzy" or make it look very conventional as shown. You can fill the chart with your choice of colors or choose a preset color scheme.

    The next tab, Data Details, is the same we saw earlier, and the screen shot is skipped. The Type tab allows you to choose the type of graph or chart. The one chosen here is the column graph.

    In the next tab, Series Groups, you group the series and also add the axes. For example, the scale of the temperature can be added to the graph. In this case, it was added to the left of the chart as shown.

    The next tab, Show/Hide, shows the default options of whether a certain feature is showing or hidden.

    Now you can view how the page looks by clicking on the View --> Page View from the main menu.

    In this view if you click on the Month drop-down, you may deselect certain months if you want and the interactive chart would show views for only the active months as shown (February, November, and October are missing). This is certainly a nice feature when you want to selectively filter data.

    You may now save this page from the file menu. This page in this tutorial was saved as Prctntemp.htm in the default directory C:Documents and Settingscomputer userMy Documents Before the page is saved it warns you about the datasource location information not being an UNC path.

    After making a few more minor changes to the formatting the page appears as shown in the next picture when opened in IE 7.0.

    More Microsoft Access Articles
    More By Jayaram Krishnaswamy


       · If you have read two of my articles at this site on creating chart with MSChart...
     

    MICROSOFT ACCESS ARTICLES

    - Linking SQL Express 2005 Tables to MS Access...
    - Working with Access Projects in Access 2007
    - Exploring Access 2007
    - Working with Stored Procedures in an MS Acce...
    - Creating and Using Action Queries
    - Creating Data Access Pages with Charts using...
    - Advanced Ideas using VBA
    - VBA Details
    - Updating Records in MS Access
    - Using ADO`s Record Object with URLs
    - Exporting XML from MS Access 2003
    - Importing XML into MS Access 2003
    - On Using Pass-through Queries in MS Access
    - Distributed Queries in MS Access
    - Configuring a Linked Microsoft Access Server...





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