UIComponent class: oracle.adf.view.faces.bi.component.gauge.UIGauge
Component type: oracle.dss.adf.gauge.Gauge
Use the gauge tag to create an ADF gauge. The attributes on this tag are sufficient to produce a gauge but you can also specify custom settings for many components by including any of the gauge child tags.
The gauge can have the following child tags:
The following example shows XML for a gauge tag.
<dvt:gauge id="foo2" value ="#{sampleGauge.gaugeDataModel}"
gaugeType="STATUSMETER" imageFormat="FLASH"
imageHeight="350" imageWidth="250"
gaugeSetAlignment="GSA_RIGHT" gaugeSetColumnCount="2"
gaugeSetDirection="GSD_ACROSS"
partialTriggers="gaugeTypes2" partialSubmit="true">
</dvt:gauge>
| Type | Phases | Description |
|---|---|---|
| oracle.adf.view.faces.bi.event.ClickEvent | Apply Request Values | The ClickEvent is delivered when the component is clicked. |
| org.apache.myfaces.trinidad.event.AttributeChangeEvent | Invoke Application, Apply Request Values |
Event delivered to describe an attribute change. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing. |
| Name | Type | Supports EL? | Description |
|---|---|---|---|
| angleExtent | int | Yes | Specifies the angular extent of the dial gauge. |
| animationDownColor | String | Yes | Specifies the color used to indicate that a data value has decreased. Enter values in RGB hexadecimal. |
| animationDuration | int | Yes | Specifies the animation duration in milliseconds. |
| animationIndicators | String | Yes |
Specifies the type of data change indicators to show. Valid values are:
|
| animationOnDataChange | String | Yes |
Specifies the type of data change animation to apply. Valid values are:
|
| animationOnDisplay | String | Yes |
Specifies the type of initial rendering effect to apply. Valid values are:
|
| animationUpColor | String | Yes | Specifies the color used to indicate that a data value has increased. Enter values in RGB hexadecimal. |
| attributeChangeListener | javax.el.MethodExpression | Only EL | a method reference to an attribute change listener. Attribute change events are not delivered for any programmatic change to a property. They are only delivered when a renderer changes a property without the application's specific request. An example of an attribute change events might include the width of a column that supported client-side resizing. |
| binding | String | Only EL | Specifies a binding reference to store an instance of the component. This component must be of type UIGauge. For example, to store an instance of the gauge component from the SampleGauge class, use the following code: binding="#{sampleGauge.gauge}" |
| clickAction | String | Yes | Refers to a backing bean method that performs navigation processing for the graph and returns an outcome String. Or a static outcome String can be specified. The JSF NavigationHandler selects the page to display next by matching the outcome String against the navigation rules in the application configuration resource file. The application writes the Navigation rules. |
| clickListener | String | Yes | |
| contentDelivery | String | Yes | Specifies whether data is fetched with page load or after page load. Valid values are lazy (default) and immediate. A value of "lazy" here means that data is fetched after the initial page load. |
| customLayout | String | Yes |
Specifies custom layout information when the graph automatically places and sizes its components. Valid values are:
|
| customShapesPath | String | Yes | Specifies the path to the Custom Shapes definition file. This feature is currently under development. |
| customizationId | String | Yes | The customizationId is used to locate this component when applying persistent customizations. Components without a customizationId set can not save customizations to the persistent store. Instead, any customizations will at most only apply to the current Session. Each customizationId must be unique in the document. |
| drillingEnabled | boolean | Yes | Specifies whether drilling is enabled in a gauge. This attribute is always set to "false" because drilling is not yet supported in the gauge. |
| dynamicResize | String | Yes | Specifies whether to resize the component based on its container size. Valid values are FIXED_SIZE (default) and DYNAMIC_RESIZE. |
| flashDefaultFontLoading | String | Yes | Specifies whether default fonts are loaded in FLASH from the middle tier. Valid values are FLASH_DEFAULT_FONT_LOADING_ALL or FLASH_DEFAULT_FONT_LOADING_NONE. The default value is FLASH_DEFAULT_FONT_LOADING_ALL. |
| fontURLMap | java.util.Map | Yes | Provides a mapping of font names and font swf file URLs in the form of a java.util.Map object. This map should have the font names as the keys, and the font urls as the values. |
| gaugeSetAlignment | String | Yes |
Determines where gauges appear within a gauge set. Valid values are as follows:
|
| gaugeSetColumnCount | String | Yes |
Specifies the number of columns to display in a gauge set. Valid values are:
|
| gaugeSetDirection | String | Yes |
Direction for processing the gauges in a gauge set. Valid values are:
|
| gaugeType | String | Yes |
Specifies the type of gauge. Valid values are:
|
| graphicAntialiasing | boolean | Yes | Specifies whether or not antialiasing will be used to smooth outlines of graphic areas. Valid values are true (default) or false. |
| id | String | No | the identifier for the component. The identifier must follow a subset of the syntax allowed in HTML:
|
| imageFormat | String | Yes |
Format of graph image. Valid values are:
|
| imageHeight | int | Yes | Specifies the height of the gauge set in pixels. The default height is 200 pixels. |
| imageSource | String | Yes | Specifies the URI for an image file that was generated by the application. For example, an application might have exported to PNG and stored the image on the server previously. This provides a base from which to load the image. |
| imageWidth | int | Yes | Specifies the width of the gauge set in pixels. The default width is 200 pixels. |
| inlineStyle | String | Yes | Style of the outer element of the component |
| ledStyle | String | Yes |
Specifies the kind of LED gauge. Valid values are:
|
| ledStyleCallback | oracle.dss.gauge.LEDStyleCallback | Yes | Specifies code that defines a custom LED style. Code for the callback is usually stored in a backing bean for the gauge. For example: ledStyleCallback="{sampleGauge.myStyleCallback}" |
| maxValue | double | Yes | Specifies the greatest value on the gauge scale/axis. This will be calculated automatically if it is not specified. |
| minValue | double | Yes | Specifies the lowest value on the gauge scale/axis. This will be calculated automatically if it is not specified. |
| otherProperties | String | Yes | Specifies settings for other properties in the form on an XML string. For example, this attribute could be used to set SFX properties such as gradientDirection. |
| partialSubmit | boolean | Yes | Specifies whether an action should be performed through a partial page submit. Valid values are "true" (default) and "false". |
| partialTriggers | String | Yes | Specifies the IDs of the components that should trigger a partial update. This component will listen on the trigger components. If one of the trigger components receives an event that will cause it to update in some way, this component will request to be updated too. |
| renderImagemap | boolean | Yes | Specifies whether an image map (PNG) should be rendered. Valid values are "true" (Default) or "false". |
| rendered | boolean | Yes | Specifies whether the component is rendered. |
| shortDesc | String | Yes | Short description of the gauge. Useful in the screen reader mode. |
| specularHighlight | String | Yes | Specifies whether the crescent shaped highlight is displayed for LS_DOT LED gauges. Valid values are SH_ON (Default) or SH_OFF. |
| styleClass | String | Yes | Sets a CSS style class to use for this component. Note that width and height should be set using the inlineStyle property. |
| svgFontEmbedding | String | Yes |
Indicates whether fonts should be embedded directly in the generated SVG. This attribute offers one way to avoid inconsistencies between fonts available on the middle tier and fonts available on the client. Valid values are:
|
| tabularData | java.util.List | Yes | Provides a tabular data set to a gauge in the form of a java.util.List object. |
| textAntialiasing | boolean | Yes | Specifies whether or not antialiasing will be used to smooth text characters. Valid values are true or false (default). |
| thresholdDialStyle | String | Yes |
The style for threshold dial gauges. Valid values are:
|
| value | String | Yes | The gauge data model, which must be an instance of DataModel. Alternatively this attribute can take a number (represented as either a Java.lang.Number object or a String) which will be set as the metric value. |
| visualEffects | String | Yes |
Specifies the type or types of visualEffect to apply. Valid values are:
|