User:Toast/horiz

  

parameters:
 * w: width of figure; defaults to "90%" (Note: "%" sign required) (optional)
 * posn:horizontal position of figure; left, center or right; defaults to "left" (optional)
 * headsize: height of header font; defaults to "120%" (Note: "%" sign required) (optional)
 * header: text of header (optional)
 * bars: as many as required (required)
 * footsize: height of header font; defaults to "80%" (Note: "%" sign required) (optional)
 * footer: text of footer (optional)

bars parameters
 * 1: identification label of bar (required)
 * 2: width of bar in percent (number only - no "%") (required)
 * 3: colour of bar in 3 digit hex format; defaults to "444" (optional)
 * 4: size of label font; defaults to "80%" (number only - no "%") (optional)

NOTE: the label for each line must be limited in length in order to avoid interfering with the bar itself.

Example: