Gauge Defining the ADF Data Visualization Components

Introduction to ADF Data Visualization Components 23-9

23.2.5 Gantt Chart

The Gantt chart is a type of horizontal bar graph with time on the horizontal axis that is used in planning and tracking projects to show resources or tasks in a time frame with a distinct beginning and end. A Gantt chart consists of two ADF Faces tree tables combined with a splitter. The left-hand table contains a list of tasks or resources while the right-hand table consists of a single column in which progress is graphed over time. There are three types of gantt components: ■ Project Gantt: Creates a Gantt chart that shows tasks vertically, and the duration of the task is represented as a bar on a horizontal timeline. ■ Resource utilization Gantt: Creates a Gantt chart that shows graphically whether resources are over or under allocated. It shows resources vertically while showing their allocation and, optionally, capacity on the horizontal time axis. ■ Scheduling Gantt: Creates a Gantt chart that shows resource management and is based on manual scheduling boards. It shows resources vertically with corresponding activities on the horizontal time axis. Figure 23–11 shows a project Gantt view of staff resources and schedules. Figure 23–11 Project Gantt

23.2.6 Hierarchy Viewer

The hierarchy viewer component displays hierarchical data as a set of linked nodes in a diagram. The nodes and links correspond to the elements and relationships to the data. The component supports pan and zoom operations, expanding and collapsing of the nodes, rendering of simple ADF Faces components within the nodes, and search of the hierarchy viewer data. A common use of the hierarchy viewer is to display an organization chart, as shown in Figure 23–12 . 23-10 Web User Interface Developers Guide for Oracle Application Development Framework Figure 23–12 Hierarchy Viewer as Organizational Chart In JDeveloper, a Component Gallery displays available hierarchy viewer types and descriptions to provide visual assistance when designing the component and defining a quick layout. Figure 23–13 shows the Component Gallery for the hierarchy viewer. Introduction to ADF Data Visualization Components 23-11 Figure 23–13 Component Gallery for Hierarchy Viewer

23.3 Providing Data for ADF Data Visualization Components

All data visualization components can be bound to row set data collections in an ADF data control. For information and examples of data binding these components to data controls, see the Creating Databound ADF Data Visualization Components chapter in the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework. Graphs and gauges have a tabularData method that lets you provide CSV Comma Separated Value data from a method that is stored in a managed bean. The Gantt chart component supports the use of a basic tree data control when you want to provide data not only for tasks and resources but also for subtasks and subresources.

23.4 Downloading Custom Fonts for Flash Images

Graph and gauge components provide text rotation, high fidelity display, and embedded fonts using Flash image types. The Flash engine is a prebuilt Shockwave Flash SWF file containing precompiled ActionScript code used to display a graph or gauge by using an XML definition of a chart. The Flash engine is downloaded and instantiated by a Flash Player embedded in the client browser at runtime. Embedded fonts are used for display and printing purposes, they are not installed on the client, and they cannot be edited. They are used by the Flash Player, in memory, and are cleared when the player terminates. Although embedded fonts require a roundtrip to the server to download the font SWF file, they provide a consistent look across all clients, support text rotation, and minimize distortion or anti-aliasing.