Difference: VarGAUGE ( vs. 1)

Revision 116 May 2013 - TWikiGuest

Line: 1 to 1
META TOPICPARENT name="TWikiVariables"

GAUGE{ attributes } -- create graphical images of gauges, typically used for dashboards

  • The %GAUGE{}% variable is handled by the GaugePlugin.
  • Syntax: %GAUGE{ type="..." name="..." value="..." }%
  • Supported attributes:
    <-- -->
    Sorted ascending
    Comment Default
    alt Alternate text for image Value is value parameter
    colors For tambar: List of colors, each region has two colors. For trend: N/A Global <type>_COLORS setting
    height Defines the height of the gauge in pixels. Global <type>_HEIGHT setting
    name Name to uniquely identify the gauge file that is auto-created. None; required for tambar
    scale For tambar: Defines the number and position of the scales. For example a value of "5, 12, 35, 57" denotes that there are three regions on the bar gauge, "5...12", "12...35" and "35...57".
    For trend: N/A
    Global <type>_SCALE setting
    type The type of gauge, type="tambar" for target measure bar, or type="trend" for trend icon Global TYPE setting
    value For tambar: The actual value of the gauge
    For trend: Positive = arrow up, 0 = arrow right, negative = arrow down
    None. Show "no data" if missing
    width Defines the width of the gauge in pixels. Global <type>_WIDTH setting
  • Examples:
    • %GAUGE{ type="tambar" name="t1" scale="0, 10, 20, 40" value="27" }% shows 27
    • %GAUGE{ type="trend" name="t2" value="-3" }% shows down trend
  • Category: ChartingAndDrawingVariables, FormattingAndRenderingVariables, UIAndVisualizationVariables
  • Related: GaugePlugin, GaugePluginTests
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.VarGAUGE.