Geographic Map Defining the ADF Data Visualization Components

23-12 Web User Interface Developers Guide for Oracle Application Development Framework Oracle provides one font, Albany WT, for use in Flash images when necessary. This font does not provide any non-plain variations such as Bold or Italic. The Albany WT font is used instead of the default font to support certain animations not supported by Flash with device fonts, if the application does not specify and provide its own embedded font to use instead. Specific fonts and their respective SWF files can be added to your application as embedded fonts to be passed to the Flash engine. The engine will defer-load any font specified in the list until that font is required by any text or labels in a graph or gauge definition. Example 23–1 defines the Georgia font with a Bold and Italic combination. Example 23–1 SWF File package { import.flash.display.Sprite; import.flash.text.Font; public class fGeorgiaBoldItalic extends Srite [Embed source=c:\\WINDOWS\\Fonts\\GEORGIABI.TTF, fontName=Georgia Bold Italic, fontWeight=Bold, fontStyle=Italic. mimType=applicationx-font-truetype] private statis car font1:Class; public function fGeorgiaBoldItalic { Font registerFontfont1; } } } You can set graph and gauge font attributes as follows: ■ fontEmbedding: Defines whether or not the embedded fonts are used. Some performance may be gained by setting the attribute to none. ■ fontMap: Contains the actual map of the fonts that should be used for embedding. The map contains the name of a font and a URL where the custom font SWF file can be found. 24 Using ADF Graph Components 24-1 24 Using ADF Graph Components This chapter describes how to use an ADF graph component to display data, and provides the options for graph customization. This chapter includes the following sections: ■ Section 24.1, Introduction to the Graph Component ■ Section 24.2, Understanding the Graph Tags ■ Section 24.3, Understanding Data Requirements for Graphs ■ Section 24.4, Creating a Graph ■ Section 24.5, Changing the Graph Type ■ Section 24.6, Customizing the Appearance of Graphs ■ Section 24.7, Customizing the Appearance of Specific Graph Types ■ Section 24.8, Adding Specialized Features to Graphs ■ Section 24.9, Animating Graphs For information about the data binding of ADF graphs, see the Creating Databound ADF Graphs section in the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework.

24.1 Introduction to the Graph Component

The graph component gives you the capability of producing more than 50 types of graphs, including a variety of area, bar, bubble, combination, funnel, line, Pareto, pie, radar, scatter, sparkchart, and stock graphs. This component lets you evaluate multiple data points on multiple axes in many ways. For example, a number of graphs assist you in the comparison of results from one group with the results from another group. A Component Gallery displays available graph categories, types, and descriptions to provide visual assistance when you are creating graphs and specifying a quick-start layout. Figure 24–1 shows the Component Gallery for horizontal bar graphs.