How to Enable Hiding and Showing Series Items

Using ADF Graph Components 24-25 tooltips. For example, a value of 40,000 will be formatted as 40K, and 0.230546 will be displayed with 2 decimal points as 0.23. Automatic formatting still occurs when af:convertNumber is specified. Graph tags that support af:convertNumber child tags have scaling and autoPrecision attributes that can be used to control the graphs automatic number formatting. By default, these attribute values are set to scaling=auto and autoPrecision=on. Fraction digit settings specified in af:convertNumber, such as minFractionDigits, maxFractionDigits, or pattern, are ignored unless autoPrecision is set to off.

24.6.3 Formatting Text in Graphs

You can format text in any of the following subcomponents of a graph: ■ Annotation: Includes only the dvt:annotation tag. ■ Axis title: Includes the dvt:o1Title, dvt:x1Title, dvt:y1Title, and dvt:y2Title tags. ■ Axis tick label: Includes the dvt:o1TickLabel, dvt:x1TickLabel, dvt:y1TickLabel, and dvt:y2TickLabel tags. ■ Graph title: Includes the dvt:graphFootnote, dvt:graphSubtitle, and dvt:graphTitle tags. ■ Legend: Includes only the dvt:legendText tag. ■ Marker: Includes only the dvt:markerText tag. Use the dvt:graphFont tag as a child of the specific subcomponent for which you want to format text. For an example of formatting text in a graph, see Section 24.6.5.2, How to Specify Titles and Footnotes in a Graph, .

24.6.3.1 How to Globally Set Graph Font Using a Skin

You can set the font attributes of graph components globally across all pages in your application by using a cascading style sheet CSS to build a skin, and configuring your application to use the skin. By applying a skin to define the fonts used in graph components, the pages in an application will be smaller and more organized, with a consistent style easily modified by changing the CSS file. You can use the ADF Data Visualization Tools Skin Selectors to define the font styles for graph components. Graph component skin selectors include the following: ■ af|dvt-graphFootnote ■ af|dvt-graphSubtitle ■ af|dvt-graphTitle ■ af|dvt-o1Title ■ af|dvt-x1Title ■ af|dvt-y1Title ■ af|dvt-y2Title ■ af|dvt-pieLabel ■ af|dvt-ringTotalLabel ■ af|dvt-legendTitle ■ af|dvt-legendText