Function overview
Prototype
ShowBar (
amount; maxValue; color )
Parameters
amount The amount for the bar length
maxValue The max value for the field
color The bar color
Description
Tags:
Bargraph
Shows a bar for a number, followed by the number itself. Good to use in an Auto-enter field with replace.
Examples
Sample input
ShowBar( 5; 100; RGB(0;0;0) )
Sample output
█ 5
Function code
BarOnly(amount; maxValue; color) & " " & GetAsNumber(amount)
// ===================================
/*
This function is published on FileMaker Custom Functions
to check for updates and provide feedback and bug reports
please visit http://www.fmfunctions.com/fid/131
Prototype: ShowBar( amount; maxValue; color )
Function Author: The Shadow (http://www.fmfunctions.com/mid/34)
Last updated: 09 December 2008
Version: 1
*/
// ===================================
BarOnly(amount; maxValue; color) & " " & GetAsNumber(amount)__LITBR____LITBR__// ===================================__LITBR__/*__LITBR____LITBR__ This function is published on FileMaker Custom Functions__LITBR__ to check for updates and provide feedback and bug reports__LITBR__ please visit http://www.fmfunctions.com/fid/131__LITBR____LITBR__ Prototype: ShowBar( amount; maxValue; color )__LITBR__ Function Author: The Shadow (http://www.fmfunctions.com/mid/34)__LITBR__ Last updated: 09 December 2008__LITBR__ Version: 1__LITBR____LITBR__*/__LITBR__// ===================================
Login or register to comment
Create a new account with fmcustomfunctions.com or login to post a comment.