• Settings
    • Locale
    • Change the locale of the datepicker, schedule and client side validation messages.

      Language
      English
      English
      English
      French
      German
      German
      German
      Italian
      Korean
      Spanish
      Catalan
      Dutch
      Portuguese
      Portuguese
      Arabic
      Arabic
      Bulgarian
      Bangla
      Bosnian
      Czech
      Greek
      Estonian
      Persian
      Finnish
      Danish
      Hindi
      Indonesian
      Icelandic
      Croatian
      Japanese
      Hungarian
      Hebrew
      Georgian
      Central Kurdish
      Khmer
      Kyrgyz
      Kazakh
      Lithuanian
      Latvian
      Malay
      Norwegian
      Polish
      Romanian
      Russian
      Slovak
      Slovenian
      Serbian
      Serbian
      Swedish
      Thai
      Turkish
      Ukrainian
      Uzbek
      Vietnamese
      Chinese
      Chinese
  • Resources

MeterGroup

MeterGroup visualizes data spread as a segmented progress bar, with multiple segments in a single bar, horizontal or vertical orientation and configurable labels with icons or colors.

MeterGroup Tag Documentation

MeterGroup displays scalar measurements within a known range as a group of meters.

NameTypeRequiredDefaultDescription
id String false generated Unique identifier of the component in a namingContainer.
rendered boolean false true Boolean value to specify the rendering of the component, when set to false component will not be rendered.
binding UIComponent false generated An EL expression referring to a server side UIComponent instance in a backing bean.
widgetVar String false generated ('widget_' + componentClientId) Name of the client side widget.
labelOrientation String false horizontal Orientation of the labels. Valid values: horizontal, vertical.
labelPosition String false end Position of the labels relative to the meters. Valid values: start, end.
max double false 0.0 Max value of the meter. If 0, defaults to 100 or sum of values.
min double false 0.0 Min value of the meter.
orientation String false horizontal Orientation of the meter. Valid values: horizontal, vertical.
showLabels boolean false true Whether to show the labels.
style String false Inline style of the component.
styleClass String false Style class of the component.
value Object true A list of meter items (MeterGroupItem).
Tag Documentation Widget Source
Basic Usage

Horizontal and vertical layouts, labels at the start and vertical labels.

Basic
  • Apps (16%)
  • Messages (8%)
  • Media (24%)
  • System (10%)
Vertical
  • Apps (16%)
  • Messages (8%)
  • Media (24%)
  • System (10%)
Labels at Start
  • Apps (16%)
  • Messages (8%)
  • Media (24%)
  • System (10%)
Vertical Labels
  • Apps (16%)
  • Messages (8%)
  • Media (24%)
  • System (10%)

Usage


<div class="card">
    <h5>Basic Usage</h5>
    <p>Horizontal and vertical layouts, labels at the start and vertical labels.</p>

    <h6>Basic</h6>
    <pe:meterGroup value="#{meterGroupController.meters}" />

    <h6>Vertical</h6>
    <pe:meterGroup value="#{meterGroupController.meters}" orientation="vertical" style="height: 300px" />

    <h6>Labels at Start</h6>
    <pe:meterGroup value="#{meterGroupController.meters}" labelPosition="start" />

    <h6>Vertical Labels</h6>
    <pe:meterGroup value="#{meterGroupController.meters}" labelOrientation="vertical" />
</div>