Académique Documents
Professionnel Documents
Culture Documents
13
K KEY TERMS
chart c chart body c Chart Wizard C legend l PDF PivotChart XPS
325
Copyright 2012 John Wiley & Sons
326
Lesson 13 Blue Yonder Airlines is a small but rapidly growing regional airline. In your position as Investor Relations Specialist, you assist in building investor relations programs, creating and distributing analyst reports, maintaining and updating databases, and preparing materials for conference presentations. In this lesson, you create, save, and print charts that will be reproduced and included in a report detailing the growth of Blue Yonder Airlines.
Charts are often used in the business world to give a visual representat representation of numeric data. Because a picture is worth a thousand words, charts play an important ro in reports and prerole worth thousand words, charts orth h an o d h rth ho n hous Access 201 c s 2010, chart into h r nt sentations. In Access 2010, you can insert a chart into a new or existing for or report using the form rd control. d Chart Wizard control.
Charts Charts and graphs are terms used synonymously in Microsoft Access. Fo example, the Chart a ts graphs e terms used synonymously in h m s no m l t Access. For Wizard inserts a chart control into reports or forms, however, a chart is re Wizard z d chart control o reports forms, h ha t on rol ol p rt rts t chart referred to as a graph in Visual u lic tio on BA) B Visual Basic for Applications (VBA code. Applications (VBA) code. A chart is a graphical representation of data. A chart is made up of two basic parts, the body cha chart har art representation a n made a and the legend. The chart body is the main area that displays the chart. The legend displays lg legend. char body chart body th h r displays pl p ay a list of the colors, shapes, or patterns used as categories in a chart. in the co h colors, shapes, r patterns s t n The Chart Wizard creates a control that you can insert into forms and reports to quickly create Cha Wizard Chart Wizard ar insert nser nser rep charts. Once you insert a chart, you may need to resize it later; you can do so by clicking and insert chart you may need nser chart, u ay e t, dragging the selection handles to increa or decrease the height or width. handl s to increase dles increase dl dl cre You could also place th chart in the Detail section of th r p rt and, within the Chart Wizard, Y ld l pl the h rt th D t il ti n f the report nd ith set the chart to change with each record, so you would have a report displaying the record data and a chart for each record. You can create 20 different charts using the Chart Wizard, including column, bar, area, line, XY scatter, pie, bubble, and doughnut charts. To delete a chart, right-click it in Design View and select Delete from the shortcut menu.
STEP BY STEP
Create a Chart
GET READY. Before you begin these steps, be sure to turn on and/or log on to your computer and LAUNCH Access.
The Blue Yonder Airlines le for this lesson is available on the book companion website or in WileyPLUS.
1. OPEN Blue Yonder Airlines from the data les for this lesson. 2. SAVE the database as Blue Yonder Airlines XXX (where XXX is your initials). 3. Open the Income & Expenses report. 4. Switch to Design View.
Copyright 2012 John Wiley & Sons
327
5. On the Design tab, in the Controls group, click the Chart button. The pointer changes to a plus sign with a chart icon. WileyPLUS Extra! features an online tutorial of this task. Figure 13-1 Report in Design View 6. Click in the upper-left corner of the Page Footer section and drag to the lower-right corner to create a rectangular placeholder where the chart will be inserted, as shown in Figure 13-1.
Chart button
7. Release the mouse button. The rst Chart Wizard screen appea as shown in 7. Release el e mouse button. Th rst s utto The W a Wizard screen appears, c e Figure 13-2. Figure 13-2. u 3 Figure 13-2 e Chart Wizard, screen 1 reen
8. Select the Income & Expenses Summary table as your data source and click the Next > button. The second Chart Wizard screen appears, as shown in Figure 13-3. Figure 13-3 Chart Wizard, screen 2
328
Lesson 13
9. Click the >> button to move all the elds to the Fields for Chart box and click the Next > button. The third Chart Wizard screen appears, as shown in Figure 13-4. Figure 13-4 Chart Wizard, screen 3
Chart description
10. Click the 3D Column Chart button, the second icon in the rst row. Notice that the D Column olu um second icon co cond description type displayed the right. description of the chart typ is displayed on the right. ion io o ype yp p h ig 11. Click the Next > button. The fourth Chart Wizard screen appears, as shown in the button. The fourth tton on.T e urt scree creen r Figure Figure 13-5. ure Figure 13-5 5 Chart Wizard, , screen 4
12. Click and drag the Income eld button to the upper left of the chart and drop on the the Income eld button to the e come d utto t on he SumOfExpenses data list. Both th SumOfExpenses and SumOfIncome elds should list. Both the SumOfExpenses t oth h t SumOfInc be listed. 13. Click the Preview Chart button. The Sample Preview dialog box appears, displaying a sample of your chart, as shown in Figure 13-6. Figure 13-6 Sample Preview dialog box
14. Click the Close button. The Sample Preview dialog box closes.
329
16. Click the down arrow in the Report Fields menu and select <No Field> since you dont th do the down Fields menu ld me d want to chart want to display a chart for each record in the data source. a t y char for each art ach he data e a 17. Click the down arrow in the Chart Fields menu and select <No Field> again, since you Click i wn wn arrow in the Chart he and dont chart the source. dont want to display a ch rt for each record in the data source char ch he 18. Click the Next > button. The sixth Chart Wizard screen appears as shown in 18. 8. button.The T e screen appears, reen e Figure Figure 13-8. Figure 13-8. e Figure 13-8 e Chart Wizard, screen 6 reen
19 Key 20052014 Income and Expenses in the Title box. 19. theTitle box 20. The Yes, display a legend button should be selected. If not, select it and click the Finish button. Access inserts your chart. Notice that Design View displays sample data and not the actual data from your chart. 21. Click the chart to select it. 22. On the Design tab, in the Tools group, click the Property Sheet button if necessary. 23. Click the Data tab of the Property Sheet. Click the down arrow at the end of the Enabled line and select Yes. This enables the chart data to accurately display the associated table data. 24. Close the Property Sheet. 25. Switch to Report View. 26. On the Home tab, in the Records group, click the Refresh All button to ensure the chart displays the latest table data. 27. Scroll to the bottom of the report to view your chart, which should look similar to Figure 13-9.
330
Lesson 13
Legend
Troubleshooting If your chart is not displaying correctly, you probably need to increase the width and/or ng your u s ot t correctly, ct probably o o increas
height of the placeholder. You do this the same way you resize any control. Switch to height g t place pl eh pl eholder. You ou this his same m resize s Design View and click the resize handles in the center of the vertical borders and drag to Design s n d k resize handles in e center size nd iz e e vertical b increase the size. Drag the resize handles on the horizontal borders to change the height. increas rea ease Drag the resize handles on the g h e e a dle dl th borders o Then, return to Report View to see the results. Then, return n r Report View po o e see the results e e ts.
5.2.3
28. Save the report. Save a e How do you create a graph on a report? PAUSE. LEAVE the report open to use in the next exercise. E. LEAVE t ope to use op s exercise. s se
You can use Microsoft Graph to change the formatting of charts created w the Chart Wizard. Microsoft Graph change the formatting f r p h g h o with You can change chart options such as how the title and labels are displayed and where you want th l d located. You l h tti ti h the l the legend l t d Y can also change f formatting options, such as th color or the charts background and the color and size of the data blocks in the chart. After you create a chart using the Chart Wizard, you can edit it using Microsoft Graph, which is a component of Ofce 2010. To launch Microsoft Graph, double-click a chart in Design View. Microsoft Graph displays the chart and the datasheet. You can choose commands from the menu bar or the toolbar. After you make changes to the chart, it is important to save the changes using the Save command on the File menu. After you save a chart, Microsoft Graph closes and switches you back to Design View.
331
STEP BY STEP
Menu bar
Toolbar
Datasheet
Data Data Data series s Figure 13-10 Chart displayed in yed Microsoft Graph Figure 13-11 Titles tab on the Chart Options ptions dialog box og
3. Click the Chart menu and select Chart Options. The Chart Optio dialog box appears, 3. Click d select e The Chart Options h Figure 13-11. as as shown in Figure 13-11. u 3 1
4. Select 2005-2014 in the Chart title box and press the Delete key. Notice that the preview on the right adjusts to show the change.
332
Lesson 13
5. Click the Axes tab to display the options on the tab, as shown in Figure 13-12.
6. Click the Value (Z) axis check box to remove the check mark. Notice that the values on Value (Z) axis u Z i remove the move h o the Z axis are removed. is are 7. Click the Value (Z) axis check box again to insert the check mark. th the ) axis check box is e ox he check e 8. Click the Gridlines tab to display the options on the tab as shown in Figure 13-13. Click the c th display p y tab, ab, b Figure 13-13 3 Gridlines tab of the Chart t Options dialog box x
9. Click the Major gridlines check box in the Category (X) axis section Notice that gridlines idli idl n ox in th x th section. gridlines are added to the preview. 10 Cli k h L 10. Click the Legend tab to display the options on the tab, as shown i Figure 13-14. d b di l h i h b h in Figure 13-14 Legend tab of the Chart Options dialog box
333
11. Click the Show legend check box to remove the check mark. Notice that the legend is removed from the chart. 12. Click the Show legend check box again to insert a check mark. The legend is displayed in the preview. 13. Click the Bottom radio button to move the legend to the bottom of the chart. 14. Click the Data Labels tab to display the options on the tab, as shown in Figure 13-15. Figure 13-15 Data Labels tab of the Chart Options dialog box
15. Click the Value check box to insert a check mark. Noti e that values are added to the 15. 5. box o o Notice otic t va columns colu n col mns in the chart. e chart. t 16. Click the 16. Click the Value check box again to remove the check mark. 6 ic h c check box again to he e x gain g the check mark. h k 17. Click the Data Table tab to display the options on the tab, as sh 17. 7 k e tab display a sp p options o e tab, a shown in Figure 13-16. Figure 13-16 Data table tab of the Chart Options dialog box og
18. Click the Show data table check box to insert a check mark. Notice that the datasheet is added to the bottom of the chart. 19. Click the Show data table check box again to remove the check mark. 20. Click OK. 21. Click the File menu and select Save. The Microsoft Graph software closes and the report is switched back to Design View. PAUSE. LEAVE the report open to use in the next exercise.
Troubleshooting Microsoft Graph has its own Help system. To access it, double-click a chart to launch
Microsoft Graph and choose Microsoft Graph Help from the Help menu or press F1.
334
Lesson 13
4. Click the Fill Effects button. The Fill Effects di Effects button.T Fill Effects di f cts tto The ill Effects dialog box appears, as sh ff t ialog fect shown in Figure 13-18. Figure 13-18 8 Fill Effects dialog box
335
7. Right-click any of the purple Data Series columns in the chart to display the shortcut menu. Notice that Series SumOfIncome is displayed in the Chart Objects menu. 8. Select Format Data Series from the shortcut menu. The Format Data Series dialog box appears. 9. Select the Green color (second row, fourth from the left) as shown in Figure 13-19. Figure 13-19 Format Data Series dialog box
10. 10. Click OK in the Format Data Series dialog box. 0 OK n Data Series aS g box. o 11. Right-click th gray grid background of the chart, called the Walls, and select Format 11. Right-click the li grid background the gro r called l d Wa Walls from the shortcut menu. from the shortcut menu. o h or u r n 12. 12. Click the Fill Effects button. 2 Fil Effec s button. i ffects f 13. Click the From center button in the Shading styles section and click OK. 13. om center button m e en u n h he Shading ha ha section 14. Click OK in the Format Walls dialog box. 14. . K e Walls s box. 15. R 15. Right-click the Legend and select Format Legend from the men The Format Legend 5. 5 Right-click Legend and select g n fro rom o menu. dialog dia dialog box appears. Select the Font tab if it is not already displayed. The Font tab appears. Select the ea e e no not already disp menu appears, as shown 13-20. menu now appears, as shown in Figure 13-20. en e s o 0 Figure 13-20 egend Font tab of the Format Legend dialog box og
336
Lesson 13
16. Select 10 in the Size menu and click OK. 17. Click the File menu and select Save. Switch to Report View. 18. Save the report. PAUSE. LEAVE the report open to use in the next exercise.
Access provides Access provides many differ nt chart types and variations of those chart ty for you to choose e y different chart types and variations those iffere h fe d h types from in the Chart Type dialog box. Access make it easy to experiment with different conguraexperiment wit n pe dialog box. Access makes e x akes xp r p tions before you decide on the chart that best displays the data you want to emphasize. In this bef before chart that h da a data exercise, you change the type of chart with which youve been working. type o chart been exercise, yo e yo ou ype p h t ee e
By Row button
Copyright 2012 John Wiley & Sons
337
6. Click the Chart menu and select Chart Type. The Chart Type dialog box appears, as shown in Figure 13-23. Figure 13-23 Chart Type dialog box og
7. On the Standard Types tab, click Pie in the Chart type list. In th Chart subtype section, 7. Standard a ar tab, a in type y e the click the Pie with a 3D visual effect, the second icon on the rst row. c click visual i a icon c co rs 8. Click and hold the Press and Hold to View Sample button to see a preview of the chart, Cli Click the Press d h e Sample p pl se as shown in Figure 13-24. s shown Figure 13-24. h u 24 2 Figure 13-24 Sample pie chart e
9. Click the Custom Types tab. 10. Click Colored Lines in the Chart type list and click OK. 11. Click the File menu and select Save.
338
Lesson 13
12. Switch to Report View to see the chart. Your screen should resemble Figure 13-25.
Figure 13-25 5 Chart in Report View w 13. Save and close the report. Save n close a l report. po PAUSE. LEAVE the database open to use in the next exercise. next exercise. PAUSE. LEAVE h U V o open use x e
STEP BY STEP
Create a PivotChart
USE the database open from the previous exercise. 1. Open the Income Detail table. 2. On the Create tab, in the Forms group, click the More Forms button and then the PivotChart button. A blank PivotChart appears and the PivotChart Tools appear in the Ribbon.
339
3. On the Design tab, in the Show/Hide group, click the Field List button to display the Chart Field List if it isnt displayed already. Your screen should look similar to Figure 13-26.
PivotChart Tools
Drop Zones
Field List
Blank PivotChart
Figure 13-26 Blank PivotChart tChart 4. In the Cha Field List, click the Amount eld and drag it to the Drop Data Fields Here 4. e Chart hart ha a click the eld ed drag a drop zone box and release the mouse button. zone b button. o box release the e h u o 5. Click the Description eld and drag and drop it in the Drop Ser 5. e Description e s n eld n drag d drop r r the Drop Series Fields Here h drop zone. zone. e 6. Click the Yr eld and drag and dr it in the Drop Category Fie 6. r ld and drag and drop it n d a drop Category Fields Here drop zone. Your ae should look similar to Figure 13-27. screen should look similar to Figure 13-27. ul o l l ur
Figure 13-27 PivotChart 7. On the Design tab, in the Show/Hide group, click the Legend button. A legend is added to the chart.
Copyright 2012 John Wiley & Sons
340
Lesson 13
8. Click the down arrow on the Yr eld button at the bottom of the chart. A menu of year options appears, as shown in Figure 13-28. Figure 13-28 Yr menu
9. Click the 2013 check box to remove the check mark, and click OK. Only the 2014 data is displayed in the chart. 10. Click the down arrow on the Yr eld button. Click the 2013 check box again to insert the bo check mark and click OK. The 2013 data is displayed along with the 2014 data. 11. Click the Save button on the Quick Access Toolbar. The Save As dialog box appears. button on the Quick Access Toolbar. ut tt uick cess To k dia 12. Key Income Chart and click OK. me me Chart PAUSE. LEAVE the chart open to use in the next exercise. chart LEAVE EA A at in exercise cise. s
STEP BY STEP
Figure 13-29 9 General tab of the Properties s dialog box x Undo button Delete button
3. Click the Delete button in the General commands section. The Axis Title is removed from the screen. Leave the dialog box open on the screen. 4. Click the Axis Title on the left side of the chart to select it. The data in the Properties dialog box displays options for the selected title.
Copyright 2012 John Wiley & Sons
341
6. Click the Bold button. e Bold button. B d 7. Click the down arrow on the Font size menu and select 14. Click the c h arrow on the Font rr r o nu and u n 8. Select Axis Title in the Caption box. Key Amount and press the Enter key. The changes Sele Select l Title in the Captio it e t h Caption tio Amount u t you on the Properties dialo yo you made are updated on the chart. Leave the Properties dialog box open on the h r p screen. move screen. If you need to move it, click the top blue border and drag it to a new location. e border r dr 9. Click the green Passenger column in the 2013 data to select it. . Click the Cl lic n Passenger column in Passenge olum s g olumn 2013 data o 01 01 da a 10. Click the 10. Click the same column again. Both green columns should now be selected. 0 li h column again. Both o m oth t columns sh o should 11. Click the Border/Fill tab in the Properties dialog box, as shown in Figure 13-31. 11. Click e Border/Fill b the Properties dialog box, as 1 c l h i ia o x Figure 13-31 Border/Fill tab on the Properties dialog box og
12. Click the down arrow on the Fill Type menu and select Gradient. e down arrow own rr FillType men Typ menu Gradien 13. Click the coral-colored (second) column two times to select both coral columns. Click coral-colored (second) lore lo l re (second) econ cond) bo the down arrow on the Fill Type menu and select Gradient. 14. Select both blue columns in the chart and select Gradient from the Fill Type menu. 15. Click in the gray background, or Plot Area, of the chart. Click the down arrow on the Fill Type menu and select Gradient. 16. Click the Color button in the Fill area. A menu of colors appears. 17. Select the Khaki color (row seven, seventh from the left) shown in Figure 13-32. Figure 13-32 Color menu on the Border/Fill tab of the Properties dialog box
342
Lesson 13
18. Click the Close box to close the Properties dialog box. 19. Save the chart. PAUSE. LEAVE the chart open to use in the next exercise.
Another Way
You can also access the Type tab of the Properties dialog box by right-clicking in the Chartspace and selecting Change Chart Type from the shortcut menu.
3. Click the 3D Stacked Column type. 4. Close the Properties dialog box. 5. Save and close the chart. 6. Save and close the table. PAUSE. LEAVE the database open to use in the next exercise.
Microsoft Access 2010 allows you to save database objects, such as tables, reports, and queries as other types of objects. For example, you can save a table as a report. You can also save database objects as PDF or XPS les. Saving a database object as another le type allows you to share data with other users or repurpose the data in other ways.
Copyright 2012 John Wiley & Sons
343
Another Way
You can also save a database object as another le type by using the Save Object As command in the Backstage view, however, you cannot save database objects as PDF or XPS types by using this method.
You can save objects such as tables, reports, and queries as other types of objects using the Save & Publish tab in the Backstage view. The Save & Publish tab also gives you the option of saving a database object in Portable Document Format (PDF) or XML Paper Specication (XPS) le formats. You might already be familiar with PDF les from documents you view on the Internet or share via emails. The PDF le format maintains the exact layout of the original le and can easily be shared. A new alternative to PDF, the XPS le format preserves document formatting, can be easily shared, printed, and archived, and is more secure.
STEP BY STEP
Sav Save Database Object as Another File Type Save a Database Object as Another File Type a s Obje j Anot i ype
USE the database USE the database open from the previous exercise. S h a en from the previous exercise. o h r c e 1. Open the Income & Expenses Summary table. n e Expenses x e table. a le 2. Click the File tab, and then click the Save & Publish tab to display the menu. Click the 2. the File h i th click h li e Publish tab b disp Save Object As tab in the FileTypes category, as shown in Figure 13-34. Object b bj t n the File Types category, h Ty e shown Figu o
Save As button
344
Lesson 13
3. Click the Save As button. The Save As dialog box appears, as shown in Figure 13-35. Figure 13-35 Save As dialog box
1.1.1
How do you save a database object as another le type? 4. Key Summary Report in the Save box. 5. Click the down arrow on the As menu and select Report. 6. Click OK. The table object is saved as a report object and the new Summary Report appears in Layout View. PAUSE. LEAVE the report open to use in the next exercise. How do you use Save & Publish?
1.1.3
You are probably familiar already with printing various kinds of documents from your y familiar already with printing milia l d with rinting ih ntin nt n do computer. Printing a database object uses the same print options and settings you use with Printing int n m me print s other types of documents. types documents e ent ents nts. You can choose various printing options before sending your document t the printer, such as choose options your to nc pi ou ur the number of copies, size of the paper, or the range of pages to print. In t exercise, you learn paper, this number um e s o about some of the options available in the Print dialog box when you print a database object. about some of the options avai b n the Print dialog box when u o h on available n aila h ri o bo when prin You can print tables, queries, forms, reports, or macros just by right-click can print ta a ri queries, forms, reports, macros just by right-clicking the object in the rie o eport or o Navigation pane and selecting Print from the shortcut menu. You can als select the Print tab also Navigation pane v ga e selecting Print fr m n ri from shortcut menu. You u o from the File tab to view available print options before you print an objec To print charts, you m the tab to available print bl in n before you print an object. o n must open either the form that contains the chart or the table that is its re that record source. Changes must open either the u h h he contains ins in or the a that you make in the Print dialog box will only be applied to that particular document. t you o n e dialog ia a will ill e applied that particul p h t
Take Note
When When printing lengthy reports, you can choose other options, suc as prin hen length reports, you can choose other gthy e o o h ose t s such printing a range of pages, uch uc c collating printing multiple pages per sheet. collat ng the pages, or prin atin or prin inting multiple pages per n u p ag p
STEP BY STEP
345
3. Click the Properties button. The Properties dialog box appears, as shown in Figure 13-38. Depending on your type of printer, the Properties box could be different. You can type p printer, yp change the quality, paper, printing, and orientation options av available for your printer. e quality, pape printing, and uality, paper, inting nd aiy per tin Click the Cancel button. the Cancel h Ca Can Figure 13-38 Properties dialog box og
4. Click the Setup button. The Page Setup dialog box appears, as shown in Figure 13-39. Click the Cancel button. Figure 13-39 Page Setup dialog box
346
Lesson 13
5. In the Copies section of the Print dialog box, click the up arrow in the Number of Copies menu to change the number of copies to 2. 6. Click OK to print two copies of the report, or click Cancel. 7. Close the report and table. CLOSE the database.
To set a printer as the default, right-click the printer icon and click Set as Default Printer on the shortcut menu. A check mark will appear next to the default printer.
SKILL SUMMARY
In This Lesson You Learned How To: Create a Chart Using Wizard r the Chart Wizard Chart ha hart Format a Chart ge Chart e s Change Chart Types d Build a PivotChart Save Database Object ave atab abas je e Save a Databa e Object s Another no e e as Another File Type Print a Database Object n a as Print Database Use Save se av ct ct As. Use Save Object As. Use Save and Publish. s Save Publish u sh. ub sh h Use S 1.1.1 1.1.3 Exam Objective Add bound/unbound controls. Objective Number 5.2.3
Another Way
To print a document t quickly, you can skip the Print dialog box and use the default settings by clicking the Print button on the Quick Access Toolbar.
Column 1 1. chart 2. chart body 3. Chart Wizard 4. legend 5. PDF 6. PivotChart 7. XPS 8. Refresh All button 9. Microsoft Graph 10. Save & Publish tab
Column 2 Column Colu a. a control that you can insert into form and reports to that ou th t you forms quickly cr qu ckl create quickly create charts ly b. an interactive chart that shows data to totals or summaries c. a le format that maintains the exact layout of the original le and can easily be shared d. a le format that preserves document formatting, can be easily shared, printed, and archived, and is more secure e. a component of Access 2010 used to make changes to a chart created by the Chart Wizard f. a graphical representation of data g. includes options to save objects as other le formats like PDF and XPS h. the main area that displays the chart i. j. displays a list of the colors, shapes, or patterns used as categories in a chart updates the data in a chart
347
T T T T T T T T T T
F F F F F F F F F F
1. You can choose from 20 different chart types in the Chart Wizard. 2. The Chart Wizard is a control. 3. A legend can be displayed only on the right side of a chart. 4. Microsoft Graph displays the chart and the datasheet of the underlying data source. 5. The Refresh All button displays an objects Property Sheet. 6. PivotCharts are a type of report. 7. You can save a table as a report. 8. You can print tables, queries, forms, reports, or macros by right-clicking the object in the Navigation pane and selecting Print from the shortcut menu. 9. An Axis is a type of chart. 10. After you save a chart in Microsoft Graph, Microsoft G Graph closes.
GET READY. LAUNCH Access t is GET READY. LAUNCH Access if it is not already running. D A ce e already a . r The City Power & Light le for this lesson is on available on the book k companion website or in WileyPLUS. 1. OPEN the City Power & Light database. e City Power Light database. ity w r ight ata ht e 2. Save the database as City Power & Light XXX (where XXX is your initials). 2. database as City Power Light a bas i we gh X (where e X y 3. Open the Salary report in Design View. 3. Salary report in Design V w al y View. 4. Chart r n ar ar 4. Click the Chart button and draw a large rectangle in the space provided in the and draw large in the Page P Page Footer section. The Chart Wizard dialog box appears. e Chart h x appears. p 5. Click the Next > button. Ci Click button. o 6. Move the Employee ID and Salary elds to the Fields for Chart list and click Next >. Move ov Employee ID nd oyee oy e n y he Fields 7. Click the Pie chart button and click Next >. th P the Pie >. 8. Drag and drop the Salary eld button to the Data box. drop th Salary eld button to o the Salary ala y tto ton o 9. Drag and drop the Employee ID eld button to the Series box. D 10. Click the Preview Ch t b tt 10 Cli k th P i Chart button. 11. Click Close. 12. Click Finish. 13. Click the Data tab of the Property Sheet and set the Enabled property to Yes. 14. Switch to Report View. 15. Click the Refresh All button. 16. Save the Report. 17. Click the File tab and select the Print tab from the menu. 18. Click the Print button and then click Cancel. 19. Close the report. LEAVE the database open for the next project.
348
Lesson 13
Project 13-2: Change the City Power & Light Chart Type
You decide to create a variation of the pie chart that will more clearly show the salary amounts in relationship to each other.
USE the database open from the previous exercise. 1. Open the Salary report in Report View. 2. Click the File tab, and select Save Object As. 3. Key Salary Line Chart in the name box and click OK. 4. Switch to Design View. 5. Double-click the chart to launch Microsoft Graph. 6. Click the Chart menu and select Chart Type from the menu. 7. Click Line in the Standard types list. 8. In the Chart subtype list, click the Line with markers displayed at each data value button. 9. Click OK. menu an enu en and n Chart Op har Options 10. Click the Chart menu and select Chart Options from the menu. 11. Click the Legend tab and click the Bottom check box. Legend tab egend nd check heck 12. Click OK. OK. K 13. SAVE the chart. E the CLOSE the database. E the th
GET READY. LAUNCH Access if it is not alread running. READ RE REA Y. Access t already ady ad 1. OPEN Blue Yonder Airlines XXX that you saved in an earlier exercis OPEN P Airline Airlines XXX irl lin XX n ea earlier exercise. 2. Create a blank PivotChart using the Expenses Detail table as the da source. te PivotChart using t art s g r Detail table a ai data 3. Drag the Yr eld to the Series drop zone, drag the Amount eld to the Data drop zone, e Yr the Series h Series ie g the e t and drag the Description eld to the Category drop zone. Category drop he Description e Desc Desc egor gory to ege 4. Click the Legend button to add a legend to the chart. button to add legend to 5. Click the Yr eld button and click the 2013 check box to remove the check mark so that r only the 2014 data is displayed. 6. Click the Change Chart Type button and change it to a pie chart. 7. Close the Properties dialog box. 8. Save the chart as Expenses Chart. 9. Close the chart. CLOSE the database.
The LucernePublishing le for this lesson is available on the book companion website or in WileyPLUS.
GET READY. LAUNCH Access if it is not already running. 1. OPEN Lucerne Publishing from the data les for this lesson. 2. Save the database as Lucerne Publishing XXX (where XXX is your initials).
Copyright 2012 John Wiley & Sons
349
4. Use the Gross Sales, Cost of Goods, and Net Sales elds as the Data elds. Drag and drop them side by side in the Data elds drop zone. 5. Use the Area eld as the Category eld. 6. Add a legend to the chart. 7. Save the chart as Sales Chart. LEAVE the chart open for the next project.
Mastery Assessment
Project 13 5: Format the Lucerne Publishing PivotChart 13-5:
The chart you created worked ne for your presentation; however, you have just been asked to worked ne for your e e o hav present the information at a meeting with your boss, so you decide to add formatting to make it look informati at meeting wi h your boss, mation i meet g with you eeting t ou more professional professional. sional onal.
USE the chart open from the previous exercise. he he chart n from the previous from he revi evi 1. Save the chart object as Formatted Sales Chart. . Save Sa chart art F Formatted 2. Change the Chart to a new Chart Type of your choice. 2. Change new Chart e choice. o e 3. Format the plot area and blocks of data with your choice of co . Format the plot area and blocks data th your cho Fo m o nd ocks our choice colors, patterns, etc. 4. Change the Category Axis Title to Area and the Value Axis Title to Amount, using the 4. Change h g ge Category AxisT le o eg y A Title g e the Value Axis u color, size, color, size, style, and font of your choice. o i and font of your n o o 5. Save, print, and close the chart. 5. Save, print, e in n e the chart. h ha CLOSE the database. CLOSE e database. ta ta
Project 13-6: x the Wingtip Toys Ye y Project 13-6: Fix the Wingtip Toys Yearly Sales Chart r 6 he g p oy Yearly Chart a
You You asked an assistant to create a chart for the Yearly Sales Report, but it isnt exactly what you u assistant to st e chart or e Yearly Repo e o epo ort, i wanted. Fix the chart. w wanted. chart art. art rt
GET GET READY. LAUNCH Access if it is not already running E Access s running. ing. g The Wingtip Toys ys le for this lesson is k available on the book companion website or in WileyPLUS. OPE To s Toys from the h l 1. OPEN Wingtip Toys from the data les for this lesson. lesson. 2. SAVE the database as Wingtip Toys XXX (where XXX is your initials). SAVE the database AVE s Win Wi Wingtip X (where wh wh X i 3. Open the Yearly Sales Report. he Yearly e Year a 4. Launch Microsoft Graph and remov the data table at the bottom of the chart. Microsoft Graph and remove so t aph nd emove o mov bott 5. Move the legend to the bottom of the report. 6. Change the background color and pattern of the chart area to a solid light gray. 7. Save and close the report. CLOSE Access.
INTERNET READY
Search the msdn.microsoft.com website for Creating Web Databases with Access 2010 and Access Services. Explore the resulting links to learn more about how you can create and publish a Microsoft Access 2010 database
to Access Services on Microsoft SharePoint Server 2010. Explore the Visual How-Tos that this site includes, and start building a web-friendly database using the skills youve already learned.