dbTalk Databases Forums  

Graphing within reports

comp.databases.filemaker comp.databases.filemaker


Discuss Graphing within reports in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Michael Paine
 
Posts: n/a

Default Graphing within reports - 11-06-2006 , 06:30 PM






I have checked out several plug-ins and methods for adding bar graphs in
Filemaker but they do seem to meet my needs. I have therefore worked out
a simple method of including text-resolution graphs in my reports.

First I convert the value to be graphed into a % of the maximum score.
Then I call a sub-routine that simply extracts the required number of
characters (between 0 and 100) from a string of I's (I use Arial I's
which look better than Courier since they dont have serifs):

-- Build bar ---
#Input is $$nbar, output is $$tbar
Set Variable [ $$tbar;
Value:Left("IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIII";$$nbar) ]

I feed the result into a text field in the appropriate table. I can also
add text color at this time (for stacked bars):

--- Set field --------
Set Variable [ $$nbar; Value:Round(100*(scoring:ole_sc/37);0) ] # %
Perform Script [ “Build bar” ] # call sub-routine
Set Variable [ $$tbar; Value:TextColor($$tbar ; RGB( 0 ; 255 ; 0 ))] #
make it green text
Set Field [ scoring::bar_total; scoring::bar_total & $$tbar ] # add to field

A sample of the results can be viewed in the PDF at:
http://members.optusnet.com.au/carsafety/5star_cht.pdf

It is a crude workaround but fulfils my needs for now.

Michael Paine
FM 8
BTW my ancient (DOS circa 1985) Open Access database had the facility to
generate graphs from found sets.

Reply With Quote
  #2  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Graphing within reports - 11-06-2006 , 11:16 PM






In article <454fd399$0$11971$afc38c87 (AT) news (DOT) optusnet.com.au>, Michael
Paine <mpaine (AT) tpgi (DOT) com.au> wrote:

Quote:
I have checked out several plug-ins and methods for adding bar graphs in
Filemaker but they do seem to meet my needs. I have therefore worked out
a simple method of including text-resolution graphs in my reports.

First I convert the value to be graphed into a % of the maximum score.
Then I call a sub-routine that simply extracts the required number of
characters (between 0 and 100) from a string of I's (I use Arial I's
which look better than Courier since they dont have serifs):

-- Build bar ---
#Input is $$nbar, output is $$tbar
Set Variable [ $$tbar;
Value:Left("IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIII";$$nbar) ]

I feed the result into a text field in the appropriate table. I can also
add text color at this time (for stacked bars):

--- Set field --------
Set Variable [ $$nbar; Value:Round(100*(scoring:ole_sc/37);0) ] # %
Perform Script [ “Build bar” ] # call sub-routine
Set Variable [ $$tbar; Value:TextColor($$tbar ; RGB( 0 ; 255 ; 0 ))] #
make it green text
Set Field [ scoring::bar_total; scoring::bar_total & $$tbar ] # add to field

A sample of the results can be viewed in the PDF at:
http://members.optusnet.com.au/carsafety/5star_cht.pdf

It is a crude workaround but fulfils my needs for now.

Michael Paine
FM 8
BTW my ancient (DOS circa 1985) Open Access database had the facility to
generate graphs from found sets.
Congratulations for working out a solution for yourself, but the method
has been around for many years and is documented in many FileMaker
resource websites. You could have saved yourself a lot of time, but it
wouldn't have been as rewarding. )


Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)


Reply With Quote
  #3  
Old   
Guy
 
Posts: n/a

Default Re: Graphing within reports - 11-07-2006 , 03:23 PM



8.5 advanced has the ability to generate bar, line & pie graphs

--


-------------------------------------------------
www.nsbtaxi.com

Captain Guy
s/v Island Time (352#277)
AICW 845.5
386-689-5088
"Helpful Harry" <helpful_harry (AT) nom (DOT) de.plume.com> wrote

Quote:
In article <454fd399$0$11971$afc38c87 (AT) news (DOT) optusnet.com.au>, Michael
Paine <mpaine (AT) tpgi (DOT) com.au> wrote:

I have checked out several plug-ins and methods for adding bar graphs in
Filemaker but they do seem to meet my needs. I have therefore worked out
a simple method of including text-resolution graphs in my reports.

First I convert the value to be graphed into a % of the maximum score.
Then I call a sub-routine that simply extracts the required number of
characters (between 0 and 100) from a string of I's (I use Arial I's
which look better than Courier since they dont have serifs):

-- Build bar ---
#Input is $$nbar, output is $$tbar
Set Variable [ $$tbar;
Value:Left("IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IIIIIIIIIIIIIIII
IIIIIIIIIIIIIIIIIIIIIIIIIIII";$$nbar) ]

I feed the result into a text field in the appropriate table. I can also
add text color at this time (for stacked bars):

--- Set field --------
Set Variable [ $$nbar; Value:Round(100*(scoring:ole_sc/37);0) ] # %
Perform Script [ "Build bar" ] # call sub-routine
Set Variable [ $$tbar; Value:TextColor($$tbar ; RGB( 0 ; 255 ; 0 ))] #
make it green text
Set Field [ scoring::bar_total; scoring::bar_total & $$tbar ] # add to
field

A sample of the results can be viewed in the PDF at:
http://members.optusnet.com.au/carsafety/5star_cht.pdf

It is a crude workaround but fulfils my needs for now.

Michael Paine
FM 8
BTW my ancient (DOS circa 1985) Open Access database had the facility to
generate graphs from found sets.

Congratulations for working out a solution for yourself, but the method
has been around for many years and is documented in many FileMaker
resource websites. You could have saved yourself a lot of time, but it
wouldn't have been as rewarding. )


Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)



Reply With Quote
  #4  
Old   
Bill Marriott
 
Posts: n/a

Default Re: Graphing within reports - 11-07-2006 , 05:50 PM



Well, it has the ability to generate anything you want in Flash/SVG and
display it via the Web Viewer, if that is what you mean.

"Guy" <sailor (AT) guym (DOT) com> wrote

Quote:
8.5 advanced has the ability to generate bar, line & pie graphs




Reply With Quote
  #5  
Old   
Guy
 
Posts: n/a

Default Re: Graphing within reports - 11-09-2006 , 02:03 PM



yes, that's what i mean... the fm web site has a simple overview-how-to and
sample files for displaying such graphs

--


-------------------------------------------------
www.nsbtaxi.com

Captain Guy
s/v Island Time (352#277)
AICW 845.5
386-689-5088
"Bill Marriott" <wjm (AT) wjm (DOT) org> wrote

Quote:
Well, it has the ability to generate anything you want in Flash/SVG and
display it via the Web Viewer, if that is what you mean.

"Guy" <sailor (AT) guym (DOT) com> wrote in message
news:bP64h.4089$ig4.1117 (AT) newsread2 (DOT) news.pas.earthlink.net...
8.5 advanced has the ability to generate bar, line & pie graphs






Reply With Quote
  #6  
Old   
hwilliams@openlinksw.com
 
Posts: n/a

Default no subject - 12-11-2006 , 07:20 AM



Posting Reply to Ted's &quot;Yet More testing&quot; post

Reply With Quote
  #7  
Old   
hwilliams@openlinksw.com
 
Posts: n/a

Default Re: Yet more testing - 12-11-2006 , 08:50 AM



Quote'ing ...


[quote:5ed6cf6c26="Tim Haynes &lt;thaynes (AT) openlinksw (DOT) com&gt;"]&quot;Ted Thibodeau Jr&quot; &lt;tthibodeau (AT) openlinksw (DOT) com&gt; writes:

Quote:
This *should* show up as a reply in both phpbb and
openlink.internal.spam-test

Let us see.

(I had to manually set the Subject as `Re: Yet more testing` -- this
should be automatic, if at all possible.)
I thought it was..

Quote:
(BBCode is set ON -- what happens to BBCode when it gateways to NNTP?)
Generally it looks ugly

~Tim
--
Product Development Consultant
OpenLink Software
Tel: +44 (0) 20 8681 7701
Web: &lt;http://www.openlinksw.com&gt;
Universal Data Access &amp; Data Integration Technology Providers
[/quote:5ed6cf6c26]


Reply With Quote
  #8  
Old   
Helpful Harry
 
Posts: n/a

Default Re: Post Reply - 12-11-2006 , 05:44 PM



In article
<17492c0a90bd4ba7900fdf0c50e58ef9 (AT) hwilliams (DOT) at.openlinksw.com>,
hwilliams (AT) openlinksw (DOT) com wrote:

Quote:
Post Reply ...
Errr... OK.

Helpful Harry
Hopefully helping harassed humans happily handle handiwork hardships ;o)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.