How to Provide Marker and Legend Dimming

24-48 Web User Interface Developers Guide for Oracle Application Development Framework ■ horizontalAlignment - Specifies the horizontal positioning of the annotation. This setting only applies when the annotation position attribute is absolute or percentage. Valid values are LEFT default, CENTER, LEADING, or RIGHT. ■ verticalAlignment - Specifies the vertical positioning of the annotation. This setting only applies when the annotation position attribute is absolute or percentage. Valid values are CENTER default, TOP, or BOTTOM.

24.9 Animating Graphs

Graph components dvt:areaGraph, dvt:bubbleGraph, dvt:barGraph, dvt:lineGraph, dvt:comboGraph, dvt:pieGraph, and dvt:scatterGraph support animation effects such as slideshow transition for initial display of the graph component and for partial page refresh PPR events. Animation effects are specified in the graph’s animationOnDisplay and animationOnDataChange properties with these values: ■ alphaFade ■ conveyorFromLeft ■ conveyorFromRight ■ cubeToLeft ■ cubeToRight ■ flipLeft ■ flipRight ■ slideToLeft ■ slideToRight ■ transitionToLeft ■ transitionToRight ■ zoom Animation effects can also be performed using active data. The Active Data Service 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 source. Alternatively, you can configure the application to poll the data source for changes at prescribed intervals.

24.9.1 How to Configure Graph Components to Display Active Data

To use the Active Data Service, you must have a data source that publishes events when data is changed, and you must 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. Configure databound graphs to display active data by setting a value on the binding element in the corresponding page definition file. To configure a graph to display active data: 1. In the Structure window, select the graph node. Using ADF Graph Components 24-49 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.

24.9.2 How to Specify Animation Effects for Graphs

In the Property Inspector for the graph you wish to animate, set the following attributes: ■ animationOnDisplay: Optional. Use with or without ADS to specify the type of initial rendering effect to apply. Valid values are: – none default: Do not show any initial rendering effect. – auto: Apply an initial rendering effect automatically chosen based on graph or gauge type. – alphaFade – conveyorFromLeft or conveyorFromRight – cubeToLeft or cubeToRight – flipLeft or flipRight – slideToLeft or slideToRight – transitionToLeft or transitionToRight – zoom ■ animationOnDataChange: Use to specify the type of data change animation to apply. Valid values are: – none: Apply no data change animation effects. – activeData default: Apply Active Data Service ADS data change animation events. – auto: Apply partial page refresh PPR and ADS data change animation events. – alphaFade – conveyorFromLeft or conveyorFromRight – cubeToLeft or cubeToRight – flipLeft or flipRight – slideToLeft or slideToRight – transitionToLeft or transitionToRight – zoom ■ animationDuration: Use to specify the animation duration in milliseconds. ■ animationIndicators: Use to specify the type of data change indicators to show. Valid values are: – none: Show no data change indicators.