Bookmark and Share Share   

Linear Gauge

Linear gauges display a single numeric data point, or a set of numeric data points, in relation to a scale that renders as a horizontal bar. The bar can also progress through color changes to provide additional status information.

Only one value is displayed at a time. With multiple values, users can page to this gauge for each value.

As with all Presto built-in gauge views, you can configure up to three gauges per view with a mix of gauge types.



Characteristics

Requirements

A set of repeating items with at least one field with numeric data.

Published Events

element-click = user clicks on any of the graphic objects or areas that represent data in this chart

Mobile Views

No

Configure This View

To configure a view with a linear gauge:

  1. Add a gauge to this view (see next section).

  2. Configure the Linear Gauge

  3. In Customize Appearance, under Basic Options, enter the title for the entire view in the Caption property.

  4. If desired, add other gauges, up to three, to this view.

    Define how the gauges are stacked within the view in the Stack Gauges property under Basic Options in Customize Appearance.

  5. Preview the view and once you are satisfied, save the view.

Add a Gauge to This View

  1. If needed, change the Select Repeating Element property to find the node that contains the field you want to display in the gauge. This is the parent element, not the actual field.

    The parent you select can be a repeating element in your data, but unlike many other views, a repeating element is not required. If you select a repeating element, only the value for the first repeating item is used.

  2. Drag the field that has the data you want to display in the gauge into the Select Columns area.

    Each field that you select as a column defines one gauge for this view. You can have up to three gauges in a view.

Configure the Linear Gauge

Select the column with data for this gauge and, at a minimum, complete the Column Properties:

  1. If needed, change the Chart Type to Linear Gauge.

  2. Define the scale and color range for this gauge in the Chart Range Tool.

    The scale defaults to 0-100, with color changes at 40 and 60.

    Gauge scales can be any range of contiguous numbers, negative or positive and can use integers or decimals as needed. The scale must have at least the lowest and highest numbers that you want to show.

    You define the number of colors that appear in the scale by how many intermediate numbers you include in the scale. With no intermediate numbers, the scale is one color. Add an intermediate number to change the scale color at that point.

    You can add numbers or remove numbers from the scale.

    • To add a new number to the scale, enter a number and click Add Range.

    • To remove a number, click on the number in the scale.

  3. Enter the title for this specific gauge as the Caption.

  4. If needed, add a prefix or suffix for all numeric labels for this chart.

    Common examples might be $ as the prefix or % as the suffix.

  5. Use Customize Appearance, if needed, to get the exact appearance you want.

  6. Preview the gauge, as needed.