preload
3 Comments | Aug 31, 2010

Creative Charting in FileMaker

Estimated Time To Read This: 2 – 4 minutes      


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)

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)

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.

Gauges

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!

Kevin McGee


Tags:, , ,





Related Articles


3 Comments

Balazs Torok 10:44 am - 31st August:

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.

Kevin McGee 9:44 am - 1st September:

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.

Balazs Torok 10:33 am - 8th September:

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

Leave a Reply

* Required
** Your Email is never shared