How to Customize the Bars in a Bar Graph Theme

28 Using ADF Gantt Chart Components 28-1 28 Using ADF Gantt Chart Components This chapter describes how to use a databound ADF Gantt chart component to display data, and provides the options for customizing Gantt charts. This chapter includes the following sections: ■ Section 28.1, Introduction to the ADF Gantt Chart Components ■ Section 28.2, Understanding Gantt Chart Tags and Facets ■ Section 28.3, Understanding Gantt Chart User Interactivity ■ Section 28.4, Understanding Data Requirements for the Gantt Chart ■ Section 28.5, Creating an ADF Gantt Chart ■ Section 28.6, Customizing Gantt Chart Legends, Toolbars, and Context Menus ■ Section 28.7, Working with Gantt Chart Tasks and Resources ■ Section 28.8, Specifying Nonworking Days, Read-Only Features, and Time Axes ■ Section 28.9, Printing a Gantt Chart ■ Section 28.10, Using Gantt Charts as a Drop Target or Drag Source For information about the data binding of ADF Gantt charts, see the Creating Databound ADF Gantt Charts section in the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework.

28.1 Introduction to the ADF Gantt Chart Components

A Gantt chart is a type of horizontal bar graph that you use to plan and track projects. It shows resources or tasks in a time frame with a distinct beginning and end. An ADF Gantt chart component is composed of two regions, one displaying the Gantt chart data in a table, and the other displaying the Gantt chart data graphically with a resizable splitter between the two regions. The table and chart regions share the same data and selection model, supporting and synchronizing scrolling, and expanding and collapsing of rows between the two regions. At runtime, Gantt charts provide interaction capabilities in the table region to the user such as entering data, expanding and collapsing rows, showing and hiding columns, navigating to a row, and sorting and totaling columns. In the chart region, users can drag a task to a new date, select multiple tasks to create dependencies, and extend the task date. A Gantt chart toolbar is available to support user operations such as changing or filtering the view of the data, and creating, deleting, cutting, copying, and pasting tasks. 28-2 Web User Interface Developers Guide for Oracle Application Development Framework Both Gantt chart regions are based on an ADF Faces tree table component. For more information about ADF tree tables, including virtualization of rows, see Chapter 10, Using Tables and Trees .

28.1.1 Types of Gantt Charts

The Gantt chart provides the following components: ■ Project Gantt chart: A project Gantt chart is used for project management. The chart lists tasks vertically and shows the duration of each task as a bar on a horizontal time line. It graphs each task on a separate line as shown in Figure 28–1 . Figure 28–1 Project Gantt Chart for a Software Application ■ Resource Utilization Gantt chart: A resource utilization Gantt chart graphically shows the metrics for a resource, for example, whether resources are over or under allocated. It shows resources vertically while showing their metrics, such as allocation and capacity on the horizontal time axis. Figure 28–2 shows a resource utilization Gantt chart illustrating how many hours are allocated and utilized for a particular developer resource in a given time period. Figure 28–2 Resource Utilization Gantt Chart for a Software Application ■ Scheduling Gantt chart: A scheduling Gantt chart is used for resource scheduling. The chart is based on manual scheduling boards and shows resources vertically, with corresponding activities on the horizontal time axis. Examples of resources include people, machines, or rooms. The scheduling Gantt chart uses a single line to graph all the tasks that are assigned to a resource as shown in Figure 28–3 .