How to Specify the Size of a Graph at Initial Display

24-32 Web User Interface Developers Guide for Oracle Application Development Framework

24.6.6.2 How to Specify Scrolling on an Axis

Scrolling on a graph axis can be specified for the following graph types: ■ Area, bar, and line graphs for the dvt:o1Axis, dvt:y1Axis, and dvt:y2Axis tags. ■ Bubble and scatter graphs for the dvt:x1Axis,dvt:y1Axis, and dvt:y2Axis tags. By default, a graph axis scrolling attribute is set to off. You can specify these values for the scrolling attribute: ■ off: Scrolling is disabled default. ■ on: Scrolling is enabled and the scroll bar is always present. ■ asNeeded: Scrolling is enabled, but the scrollbar is not initially present. After zooming on the graph, the scrollbar displays and remains visible for the session. ■ hidden: Scrolling is enabled but the scroll bar is always hidden. User may use pan scrolling.

24.6.6.3 How to Control the Appearance of Tick Marks and Labels on an Axis

Tick marks are used to indicate specific values along a scale on a graph. The following graph child tags support customization of the tick marks and their labels on an axis: ■ Major tick: Controls the color, width, and style of tick marks on the axis. Includes the following tags: dvt:o1MajorTick, dvt:x1MajorTick, dvt:y1MajorTick, and dvt:y2MajorTick. Major tick increments are calculated automatically by default, or you can specify the tick steps with the majorIncrement attribute. ■ Minor tick: Controls the color, width, and style of minor tick marks on the axis. Includes the following tags: dvt:x1MinorTick, dvt:y1MinorTick, and dvt:y2MinorTick. Minor tick increments are one-half of the major tick increment by default, or you can specify the tick steps with the minorIncrement attribute. Minor ticks do not support labels. ■ Tick label: Controls the rotation of major tick label text and lets you specify font characteristics for the label. Includes the following tags: dvt:o1TickLabel, dvt:x1TickLabel, dvt:y1TickLabel, and dvt:y2TickLabel. These tags can also have a dvt:graphFont child tag to change font characteristics of the label. To control the appearance of the ordinal axis tick labels: 1. In the visual editor, select the o1 Tick Label element on the graph. Alternatively, you can select the dvt:o1Axis element in the Structure window, then in the Property Inspector click the Configure o1Axis button and choose Value Labels . 2. In the Property Inspector enter values as needed for the following properties: ■ TextRotation : Use to specify the degree of text rotation to improve readability of the tick labels.