Specifying Transparency for Parts of a Gauge

Using ADF Gauge Components 25-21 – ON: Apply partial page refresh PPR data change animation events. Use this setting to configure the application to poll the data source for changes at prescribed intervals.

25.5.5 How to Animate Gauges with Active Data

Animation effects using Active Data Service ADS can be added to dial and status meter gauge types. ADS allows you to bind ADF Faces components to an active data source using the ADF model layer. To allow this, you must configure the components and the bindings so that the components can display the data as it is updated in the data source. Before you begin: In order to use the Active Data Service, you must: ■ Have a data source that publishes events when data is changed ■ Create business services that react to those events and the associated data controls to represent those services For more information about ADS and configuring your application, see the Using the Active Data Service chapter in the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework.

25.5.5.1 Configuring Gauge Components to Display Active Data

You configure a databound gauge to display active data by setting a value on the binding element in the corresponding page definition file. To configure a gauge to display active data: 1. In the Structure window, right-click the gauge node, and choose Go To Properties. 2. In the Property Inspector, enter a unique value in the ID field. If you do not select an identifier, one will be entered for you. 3. Open the page’s associated page definition file. 4. In the Structure window for the page definition file, select the node that represents the attribute binding for the component. In the Property Inspector, select Push for the ChangeEventPolicy attribute.

25.5.5.2 Adding Animation to Gauges

After configuring the gauge component to display active data, set animation effects using the attributes defined in Section 25.5.4, How to Animate Gauges.

25.6 Using Custom Shapes in Gauges

You can directly specify the graphics for a gauge to create custom gauge shapes. The customShapesPath attribute is set to point to the vector graphics file that is processed into graphics used for output. JDeveloper also provides a set of custom shape styles accessible by using the customShapesPath attribute.

25.6.1 How to Create a Custom Shapes Graphic File

Due to the requirements for rotating and resizing a gauge’s components, such as the plot area or tick marks, a vector graphics file is required when creating a custom