Book Image

Oracle ADF Faces Cookbook

By : Amr Gawish, Amr Ismail Gawish
Book Image

Oracle ADF Faces Cookbook

By: Amr Gawish, Amr Ismail Gawish

Overview of this book

Table of Contents (18 chapters)
Oracle ADF Faces Cookbook
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Showing metrics with graph and gauge components


The graph components are one of the greatest ADF Visualization components since they have more than 50 types of graphs, such as a bar, area, and funnel.

The gauge components are indicator measures to show a single data item (typically a number) that indicates a state represented by a color, for example, acceptable is indicated by green, average by yellow, and dangerous by red. Gauges come in three flavors: dial, status meter (vertical and horizontal), and LED.

In this recipe, you will use two graph components (bar and pie) and one dial gauge component in order to display metrics information about the departments and number of employees and compare this information with percentage of the total number of employees in the company.

In this recipe, the application and its model have been created for you. You can obtain them by cloning the ADFFacesDashboard project from the Git repository (don't forget to change the database connection to suit your...