Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Creating a chart

From: FileMaker Pro 11 Essential Training

Video: Creating a chart

In the other movies in this chapter, we've discussed all the different ways that you can use existing relationships to display your data. Actually, previous chapters within the title, we've also talked about different ways to display your data in general, meaning creating compelling reports and list views and layouts and that type of thing. But sometimes the visual display of information isn't able to convey the meaning that may be hard to extract from a text-based report. So, having a text-based report is fine and good, but maybe it's hard for you to visualize trends and things like that.

Creating a chart

In the other movies in this chapter, we've discussed all the different ways that you can use existing relationships to display your data. Actually, previous chapters within the title, we've also talked about different ways to display your data in general, meaning creating compelling reports and list views and layouts and that type of thing. But sometimes the visual display of information isn't able to convey the meaning that may be hard to extract from a text-based report. So, having a text-based report is fine and good, but maybe it's hard for you to visualize trends and things like that.

The new Chart object, which is arguably the most significant feature introduced in FileMaker Pro 11, is therefore an important reporting tool as well. So, we've talked about outputting as a report, outputting calculation results. Now we're talking about outputting visually in the form of a graph. In this movie, we're going to talk about how to generate charts from related records. Now, I want to take a moment to mention that there are many other ways to create a chart in FileMaker Pro 11, but a lot of these are really intermediate development techniques. As a matter of fact, this may be an intermediate development technique, but I wanted to make sure to include this in Essential Training, because charting was such a big deal in FileMaker Pro 11.

For those of you that are watching this as part of the lynda.com Online Training Library, I urge you to go look at the title that's called FileMaker Pro 11 New Features because in there we have detailed examples of every type of chart that you can set up, and we go in and we set up charts for all of these different types and give you very exhaustive detailed review of how you use charts, and data series, and all that type of stuff in FileMaker. For those of you here in this title, whether you purchase it on DVD or on the Online Training Library, I wanted to add this chart information as a bonus, even though it's a little bit outside of the scope or beyond the level of Essential Training.

With all that being said, let's go ahead and add a chart to our layout. So, first of all, charts are layout objects that are drawn using a Layout tool, and all that's done in Layout mode. So, let's go into View > Layout Mode, and let's create a place for our charts, like, for example, let's say we create another tab. So, we'll click on one of the tabs in Layout mode and double-click on it. We see that it's locked. That's what all this gray means. We notice by the four handles that it's grayed out. So, we'll go into our Position, hit Unlock, double-click on it again.

So, we'll hit Charts as a tab name, and we'll hit Create. Pretty simple there. So, now we see that we've got a place to add a chart. So, how do we add a chart to a layout? You add a chart to a layout by going into your Layout tools and you see there is a tool here with the three bars on it and that's called the Chart tool. Clicking on that tool will change your cursor to a crosshair and we're going to select the area that we want to be populated by our chart.

We'll just say the entire area of the Tab panel, and we'll release it. Up onscreen pops the Chart Setup dialog. Now, there's a lot of decisions to be made here, so I'm going to carefully take you through each step. But you can see in the background there's a preview of a chart. That's not actually the chart for this record, but it's just kind of a preview, so you can see the different styles and options that you've chosen. So, let's go through all the different decisions that you need to make. The first decision that you need to make is the chart type. In FileMaker Pro, you have five different charts you can choose from. You see, by default, we've got a Bar chart here.

There is also a Horizontal Bar, which is just a bar chart that comes off from the left, a Line chart, an Area chart, and even a Pie chart. With thought and practice, you'll learn which types of charts are best for which types of data. As with all reports, the primary measure of success is that the chart helps you manage and communicate your data more effectively. So, in this example, since what we're going to do is we're going to plot all of a customer's orders over a period of time and show the total number of orders for different months in different years, what we're going to do is use either the Line or the Area, which really those are good selections to be able to show trends over time.

Bar and Horizontal Bar aren't bad for that, but Pie is really supposed to show a percentage of a whole. So, we're not going to use that one here. How about Area? So you see Area, we can show trends, going up and down, that type of thing. So next, we want to name our chart, and we can specify that name by simply typing in here, or we can use a calculation if we want to. What we'll do is we'll say Calculation, and there's our Specify Calculation dialog window again. I'm going to put in quotations By Month for. Of course, anytime you want to connect text to a function or a field, you have to put an ampersand.

So, we'll say, Invoices By Month for this customer. So, it will dynamically populate that value for us. We'll address the formatting here in a second. But now, here's the really important stuff. This is where this gets kind of intermediate to almost expert in some cases. It's an easy tool, but you've really got to understand your data series before you can use the tool. We have to make decisions on our x axis and our y axis. The x axis is going to be all the data that we see here in these rows and the y axis is going to be everything that's going up the side.

Understanding of data series is really important to wrap your head around this. Again, it's kind of intermediate. For those of you with the access to the Online Training Library, I urge you to go check out the FileMaker 11 New Features, which is an intermediate title, and there's an entire movie in there that describes data series. But if you've used Excel or different things like that, this might actually be more familiar to you than anything else that we've talked about in this video. So, first, what we're going to do for the x axis, we've got various different options here. We can specify a field that contains this data, or we can create our own calculation.

That's what we're going to do in this case, because if I skip down for a second, before I do these two, you see that we've got an option here to use data from, and we've got three options. You can use data from a Current Found Set, data from your Current Record or a list of delimited data, or in this case, since we're talking about using related data and visualizing related data, we're going to choose Related Records. We have to tell it what table we want to use it from. So, we're going to say Invoices. Now, the key here is that we're looking at data just like we look at it in the portal.

So, every time we go from one customer to another, they're going to have a different total or a different set of related records. Those are going to be viewed in this chart. That's what the option for Use Data From Related Records does. So, we pick the related table or the child table that's going to contain the records that we want to display, and we can also apply sort values to this. So, let's actually say InvoiceDate, so that we can move chronologically across our chart. So, now that we've decided that we're using related data, now let's go back and talk about the x axis.

So, in the x axis, what we need to have are the name of a month and the year of a month. So, we'll say like June 2009, July 2009, so on and so on and so on. So, in order to do that, we're going to use a couple of Date functions that we described earlier in the title in the Date and Time Function movie. We're going to hit Specify Calculation. Let's pull up Date. So, what I want is MonthName and I'm going to pull a value here from Invoices.

You see we can only choose from Invoices, because we've already determined that that's where we're pulling the data for the chart. So, it's made that decision for us already. We'll say InvoiceDate. But I want to combine that now with the year. So, let's say? We'll put a little space there. This is how you put a space between two things in a calculation, right there, nice little tip. Now, we're going to say Year from InvoiceDate. So, it's going to give us the month. It will say like June 2010, for example. So, now let's hit OK and now we've got all the information that's going to show up across the bottom of the chart.

Now we have to talk about the data that's going to be listed in the y axis of our chart. This one we can just specify a name, because imagine a portal. If you look inside a portal, you have four or five fields in a portal. As a matter of fact, if we hit OK and we go over to Financial, to View > Browse Mode and we hit Save, you see here we've got Invoice Dates. Forget all these other three columns. Imagine you just have this one column. This is what your data series would be if I just selected the InvoiceDate field.

So, really, this is what we want. We want a data series that's represented by all of the invoice dates from all our related records. So, inside the chart, I'll double-click on it again and I will choose InvoiceDate. Again, kind of intermediate concept, you can put several different fields here. This can go very deep, but I want to make sure to expose you to some of the charting as it pertains to the related records we're dealing within this chapter. Now, we're going to format this chart a little bit before we take a look at it.

So, if I hit Format Chart, there's a couple of things we can do. First, the Chart Appearance. You see we can choose different types of fields if we want to, just for fun, make it look pretty, and the Chart Title, let's actually make that considerably smaller. There we go. That fits better. You see each one has a style. We can go Flat, or a 3D, or have it be Opaque or Opaque - Flat.

We'll do Semi Transparent - 3D, as that seems to be the most esthetic one. FileMaker also has a series of different color palettes and combinations you can choose from. Let's brighten things up. We'll say Rainbow. Then we've got the background, and we want the background to have a fill or to have it be transparent. In this case, we'll say Transparent, so it matches the color of the tab that it's in. But notice that you've got Gradients that you can use, pick your starting color, and your ending color, and you see it kind of does a gradient there, but in this case we'll just say Transparent.

You could also pick Solid Fill, those types of things. Now, the Legend, if we have a legend, some of them won't have legends, but you can put the text size for a legend if you like to, whether or not you want borders. Here we have the Horizontal Axis, so we can say X-Axis is Month/Year, and we'll make those a little bit smaller, and smaller even yet, okay. Make those a little smaller. Now the key is we're going to have a lot of information across the bottom of our chart.

So, this is a handy thing here, the Label Angle. We can either make it at an angle there like that, or these are going to be long ones. So, we'll just make them straight up and down to make it easier to read this. Here we have Invoice Total. We'll change the text a little bit there as well. Now, Invoice Total is actually the number value for the total for each one of these months in a year. So actually, what we've identified here, now that we hit OK on our formatting, is that our vertical axis is actually going to be InvoiceTotal, not InvoiceDate.

So, what I'm going to do is I'm going to go in and specify the name InvoiceTotal. So, that means we get a numeric value or a total of all the invoices. So, it's like you go month by month. You find June of 2009, give me the total of all the invoices from that month, then we say July of 2009, all the totals for that month and so on. So, now after we've made that important correction, let's take a look at this by hitting OK and now let's go into Browse mode, save our changes.

Let's go into Charts and take a look at this chart that we've got here. Pretty cool stuff, actually! Not only is it giving us a really beautiful visual representation of the trends in the ordering patterns of this customer, so you see, for example, that they peak, they have what they call temples in January of 2010 and May of 2010, March of 2010. So you can kind of see what might be going on during those times, but it also is dynamic based on customer. So, we go to the next customer and you see they don't have the same months listed.

It just dynamically grabs those months. So, we see we've got temple there, temple there, and some downtimes. Then we go to the next record, same thing here. So, this customer clearly has a lot more orders than this one, but it dynamically updates layout by layout. So, there are certainly many other things you can do with the new Chart tool. There is tons of them. It's very exciting! But in the context of this chapter and in the context of this title, using related data and related data in calculations to draw your data series, gives you a very powerful way to visualize your FileMaker Pro data.

Show transcript

This video is part of

Image for FileMaker Pro 11 Essential Training
FileMaker Pro 11 Essential Training

94 video lessons · 15223 viewers

Cris Ippolite
Author

 
Expand all | Collapse all
  1. 7m 22s
    1. Welcome
      1m 8s
    2. Understanding the FileMaker family
      2m 15s
    3. Using the FileMaker Quick Start screen
      2m 52s
    4. Using the exercise files
      1m 7s
  2. 21m 9s
    1. What is a database?
      2m 26s
    2. Flat vs. relational databases
      2m 29s
    3. How FileMaker works
      4m 48s
    4. Understanding the essential preferences
      3m 13s
    5. Touring the interface
      8m 13s
  3. 11m 44s
    1. Creating databases from templates
      2m 29s
    2. Creating new databases in the spreadsheet-like format
      5m 35s
    3. Importing tables
      3m 40s
  4. 9m 9s
    1. Determining which tables you will need
      5m 10s
    2. Creating tables in the Managing Tables window
      3m 59s
  5. 34m 47s
    1. Understanding relationship types
      6m 58s
    2. Diagramming relationships (with ER diagrams)
      8m 50s
    3. Determining which key fields you need
      5m 18s
    4. Defining primary and foreign keys
      7m 56s
    5. Creating relationships using the relationships graph and table occurrences
      5m 45s
  6. 50m 34s
    1. Deciding what fields you will need
      5m 34s
    2. Understanding field types
      7m 54s
    3. Defining fields
      9m 56s
    4. Using Auto Enter options in fields
      9m 33s
    5. Reviewing field validation options
      8m 16s
    6. Building with container fields
      9m 21s
  7. 14m 8s
    1. Creating and duplicating records
      5m 40s
    2. Editing and locking records
      4m 42s
    3. Deleting records and backing up files
      3m 46s
  8. 21m 6s
    1. Importing data
      9m 57s
    2. Importing records to refresh data
      7m 2s
    3. Exporting data
      4m 7s
  9. 18m 30s
    1. Understanding layouts
      4m 15s
    2. Using the Layout Assistant to create List views
      7m 59s
    3. Using the Layout Assistant to create labels and envelopes
      6m 16s
  10. 27m 11s
    1. Using the Layout Setup dialog box
      4m 54s
    2. Understanding layout parts
      4m 40s
    3. Understanding the new Inspector
      2m 26s
    4. Exploring the Status Area in Layout mode
      6m 46s
    5. Managing layouts and layout folders
      8m 25s
  11. 41m 9s
    1. Arranging, aligning, grouping, and locking layout objects
      11m 5s
    2. Placing and formatting objects, parts, and graphics
      4m 10s
    3. Formatting fields and applying field attributes
      8m 26s
    4. Setting field behaviors
      4m 4s
    5. Using the Tab Control feature
      9m 8s
    6. Setting tab order
      4m 16s
  12. 36m 48s
    1. Using the basic find functions
      7m 31s
    2. Reviewing new requests in the Find mode
      5m 54s
    3. Establishing search operators
      6m 43s
    4. Constraining or extending found sets
      3m 24s
    5. Finding records using date, time, or timestamp criteria
      5m 18s
    6. Using Fast Match and Quick Find
      4m 41s
    7. Working with saved finds
      3m 17s
  13. 17m 28s
    1. Sorting with one criterion
      6m 4s
    2. Sorting with related fields
      2m 18s
    3. Sorting with multiple criteria
      1m 36s
    4. Sorting using custom values
      3m 14s
    5. Sorting using buttons
      4m 16s
  14. 17m 14s
    1. Reviewing Field/Control styles
      5m 43s
    2. Creating and applying static value lists
      5m 20s
    3. Creating and applying dynamic value lists
      6m 11s
  15. 23m 52s
    1. Previewing pages and print options
      6m 20s
    2. Printing in different views
      2m 54s
    3. Sliding objects
      3m 26s
    4. Printing merge letters
      4m 53s
    5. Saving as a PDF or Excel file
      6m 19s
  16. 15m 1s
    1. Building simple reports with summary fields
      4m 36s
    2. Creating subsummary reports
      6m 51s
    3. Creating subsummary reports in Table view
      3m 34s
  17. 52m 19s
    1. Defining calculations
      2m 31s
    2. Exploring the Calculation dialog box
      5m 8s
    3. Using number functions
      12m 41s
    4. Using date and time functions
      4m 58s
    5. Using text functions
      11m 43s
    6. Using get functions
      4m 0s
    7. Using logic functions
      11m 18s
  18. 46m 56s
    1. Understanding scripts and script steps
      2m 23s
    2. Assigning script steps to buttons
      3m 54s
    3. Understanding the ScriptMaker dialog box
      8m 28s
    4. Creating multi-line scripts
      6m 44s
    5. Adding find criteria to a script
      4m 58s
    6. Understanding the If script step
      8m 36s
    7. Using script parameters
      4m 42s
    8. Reviewing the Send Mail option
      7m 11s
  19. 28m 0s
    1. Understanding script triggers
      2m 41s
    2. Using object-based triggers
      11m 58s
    3. Using layout-based triggers
      7m 51s
    4. Using file-based triggers (Open and Close scripts)
      5m 30s
  20. 56m 42s
    1. Using related fields
      7m 18s
    2. Creating portals and using portal filtering
      10m 38s
    3. Using related fields in calculations
      7m 6s
    4. Understanding multi-predicate relationships
      11m 11s
    5. Using the Go to Related Record script step
      7m 26s
    6. Creating a chart
      13m 3s
  21. 30s
    1. Goodbye
      30s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed FileMaker Pro 11 Essential Training.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.