How to Create a Custom Shapes Graphic File

Using ADF Gauge Components 25-25 ■ Transformations ■ Paths ■ Basic shapes ■ Fill and stroke painting ■ Linear and radial gradients SVG features that are not supported by custom shapes in JDeveloper include: ■ Unit Identifiers: All coordinates and lengths should be specified without the unit identifiers, and are assumed to be in pixels. The parser does not support unit identifiers, because the size of certain units can vary based on the display used. For example, an inch may correspond to different numbers of pixels on different displays. The only exceptions to this are gradient coordinates, which can be specified as percentages. ■ Text: All text on the gauge is considered data, and should be specified through the tags or data binding. ■ Specifying Paint: The supported options are none, 6-digit hexadecimal, and a uri reference to a gradient. ■ Fill Properties: The fill-rule attribute is not supported. ■ Stroke Properties: The stroke-linecap, stroke-linejoin, stroke-miterlimit, stroke-disarray, and stroke-opacity attributes are not supported. ■ Linear Gradients and Radial Gradients: The gradientUnits, gradientTransform, spreadMethod, and xlink:href are not supported. Additionally, the r, fx, and fy attributes on the radial gradient are not supported. ■ Elliptical Arc Out-of-Range Parameters: If rx, ry, and x-axis-rot are too small such that there is no solution, the ellipse should be scaled uniformly until there is exactly one solution. The SVG parser will not support this. ■ General Error Conditions: The SVG input is expected to be well formed and without errors. The SVG parser will not perform any error checking or error recovery for incorrectly formed files, and it will stop parsing when it encounters an error in the file.

25.6.4 How to Set Custom Shapes Styles

In addition to the ability to specify custom shapes for gauges, there are a set of prebuilt custom shapes styles for use with the gauge components. The available styles are: ■ Rounded rectangle ■ Full circle ■ Beveled circle Figure 25–11 shows a dial gauge displayed with each of the custom shapes styles applied. 25-26 Web User Interface Developers Guide for Oracle Application Development Framework Figure 25–11 Dial Gauges with Custom Shapes Styles To apply a custom shapes style to a gauge: 1. In the Structure window, right-click the dvt:gauge node and choose Go to Properties .

2. In the Appearance attributes category of the Property Inspector, select the custom

shapes style from the CustomShapesPath attribute dropdown list. 26 Using ADF Pivot Table Components 26-1 26 Using ADF Pivot Table Components This chapter describes how to use a databound ADF pivot table component to display data, and provides the options for pivot table customization. This chapter includes the following sections: ■ Section 26.1, Introduction to the ADF Pivot Table Component ■ Section 26.2, Understanding Data Requirements for a Pivot Table ■ Section 26.3, Pivoting Layers ■ Section 26.4, Using Selection in Pivot Tables ■ Section 26.5, Sorting in a Pivot Table ■ Section 26.6, Sizing in a Pivot Table ■ Section 26.7, Updating Pivot Tables with Partial Page Rendering ■ Section 26.8, Exporting from a Pivot Table ■ Section 26.9, Customizing the Cell Content of a Pivot Table ■ Section 26.10, Pivot Table Data Cell Stamping and Editing ■ Section 26.11, Using a Pivot Filter Bar with a Pivot Table For information about the data binding of ADF pivot tables, see the Creating Databound ADF Pivot Tables section in the Oracle Fusion Middleware Fusion Developers Guide for Oracle Application Development Framework.

26.1 Introduction to the ADF Pivot Table Component

The ADF pivot table component displays a grid of data with rows and columns. Similar to spreadsheets, this component provides the option of automatically generating subtotals and totals for grid data. The pivot table lets you pivot or move data labels and the associated data layer from one row or column edge to another to obtain different views of your data, supporting interactive analysis. The power of the pivot table’s interactive capability is based in its display of multiple nested attributes on row and column headers. You can dynamically change the layout of these attributes using drag-and-drop operations. Figure 26–1 shows a pivot table with multiple attributes nested on its rows and columns. 26-2 Web User Interface Developers Guide for Oracle Application Development Framework Figure 26–1 Sales Pivot Table with Multiple Rows and Columns Pivot tables support on-demand data scrolling for large data sets. Only the data being viewed in the pivot table is loaded. As the user scrolls vertically or horizontally, data is fetched or discarded to fill the new pivot table view. Figure 26–2 shows a pivot table with a large data set using on-demand data scrolling. Figure 26–2 On-Demand Data Scrolling in a Pivot Table A pivot filter bar is a component that can be added to a pivot table to provide the user with a way to filter pivot table data in layers not displayed in one of the other edges of the pivot table. Users can also drag and drop these layers between the pivot filter bar and the associated pivot table to change the view of the data. Figure 26–3 shows a pivot filter bar for a pivot table. Figure 26–3 Pivot Filter Bar Component

26.1.1 Pivot Table Elements and Terminology

The following list of pivot table terms uses Figure 26–1 as a Sales Pivot Table sample in its descriptions of terms: ■ Edges: The axes in pivot tables, including: