Notice
  • Please enter your DISQUS subdomain in order to use the 'Disqus Comments (for Joomla)' plugin. If you don't have a DISQUS account, register for one here

Core FileMaker Blog

Keep up to date with CoreSolutions

Creative Charting in FileMaker

When you think of charts in FileMaker, you’re probably thinking of plain, simple charts. Charts can be manipulated to make an assortment of things. Here are a few examples.

Combination Charts

You can display a hybrid of two charts by superimposing them and making the topmost chart transparent and matching the scales. One thing to keep in mind is that the built-in tooltips will not work for the bottommost chart since the top one is covering it.

(superimposed charts)

Average Sales for 2009 Combi Chart

Changing View

You can use a tab panel to place different charts representing the same data on each tab. Then write a script that toggles between the tabs when you click on the chart. This will let you display the same data in different views. Sometimes a pie chart may be the desired view, but if there are too many slices, the labels get overlapped. Having a bar chart available when clicking the chart will reveal the information you were looking for.

(simulating before and after clicking the chart)

Before and After image of the creative charting process

Timeline

Although much more complex, it is possible to make a timeline with a bar chart. This involves much more complex scripting and the use of a dummy table. One record is created for each day within the date range. In the dummy table, there is a calculated field showing the milestones with the date on the appropriate day. The calculated field is the one used for the X axis.

Timeline

Complete-o-meterGauges

A very slim bar chart and a few strategically placed objects can be used to mimic a thermometer. This one is used as a percentage gauge, but could as easily display dollar amounts for a fundraising activity for example. You could hide the numbers on one side by simply covering it up with an object matching the background colour, but in this case, having the numbers on both, the right and left side, furthers the illusion that it is a thermometer with *F and *C.

These examples are only scratching the surface when it comes to what you can do with charts in FileMaker. Let your imagination run wild and see what you can come up with!

Leave a comment

3 comments

  • Balazs Torok
    Balazs Torok 08 September 2010 Report

    Thanks, Kevin!
    At the end I took the effort and created the interpolated values. Combined with curve fitting the result looks quite nice.

    Comment Link

  • Kevin McGee
    Kevin McGee 01 September 2010 Report

    Interesting question, Balazs!
    Without using interpolated data, the chart will map the actual values. One way around it would be to constrain your found set to contain only dates that have values. This however, will leave you with an X axis that contains non-consecutive dates(may 1, may 2, may 3, may 6, may 7...), but will achieve a chart without any 'zero' values. Unfortunately, there is no way to 'skip' null values that I can think of.

    Comment Link

  • Balazs Torok
    Balazs Torok 31 August 2010 Report

    I have data for some but not all days of a date interval. If I create a chart, dates on the x axis will be evenly placed. If I generate records with empty values, the x axis is OK but the chart shows the empty values as if they were zero. One possibility is to fill up the date interval with interpolated data but I wouldn't want to create so much fuss about a simple x-y chart. Do you have any idea how to do it in a more or less simple way? Thanks.

    Comment Link