Example 1: Creating a simple line chartIn this example, you will create a new database containing stock market values for a fictitious company. You will add data to the file using Table View, then create a line chart to present your data graphically.
• If the FileMaker Quick Start Screen is open, click Create a New Database, then close the Quick Start Screen.
•
2. The file opens in Browse mode in Table View. FileMaker Pro creates the first table and layout for you. Both have the same name as the file.
1.
2. To add two more text fields on this layout, click + in the column heading, type Month, then click + in the column heading again and type Price.
1. Click the row below the Company heading to create a new record in the database.
1. Click View As in the layout bar to go to Form View, then click Edit Layout in the layout bar to switch to Layout mode.
2. Drag the Body layout part down to make room for the chart.
3. Click the Chart tool in the status toolbar, then click in the body layout part and drag a large rectangle where you want the chart to appear.
Choose Line.Note The chart preview updates when you make formatting changes to chart settings. However, the chart does not show data from your database until you view the chart in Browse, Find, or Preview modes. Type Stock Value of ABC CompanyNote FileMaker Pro encloses your title text in quotation marks when you click outside the Chart Title field. The data values in the Month field will appear as labels at the bottom of your chart (X-series). This is the data you are comparing. The data values in the Price field will appear as points connected by a line in your chart (Y-series). This is the data you are measuring. Choose Current Found Set.FileMaker Pro offers two line formats: curve fitting and poly-line. The distinction between data points is emphasized when you use straight lines (poly-line).
1. Click Format Chart.
2. You see placeholder data in the chart on your layout. You must switch to Browse mode to see data from your database.
•
• If your chart is hard to read (for example, the line is too flat), return to Layout mode, select the chart, and drag the handles to make the chart larger. Then return to Browse mode to verify the chart.