To add a graph to a JSP-based Web report:
In the Object Navigator, double-click next to the Web
Source node to display the source code in the Web Source view.
Locate the section in the source code where you want to add the graph.
Note: Previously adding some text such as "Place the
graph here" to your Web page enables you to easily locate the correct
position for your graph.
Choose InsertGraph.
In the Graph Wizard, specify the information for the graph. Click Help
on any wizard page for assistance.
Note: When you specify a graph title, subtitle, footnote, or axis
title in the Graph Wizard, you can insert lexical
references (to user parameters, system parameters, and columns) in the
text. For example, in the Show Title field on the Title page of the
Graph Wizard, type: title
text
&<P_1>
to insert the value of the user parameter P_1
into the title text at runtime. The angle brackets (<>
)
are required around the parameter or column name.
If Netscape 7.0 is your default browser, and the browser does not
display, set the registry key HKEY_CURRENT_USERS\Software\Oracle\Toolkit\Tkbrowser
to the default browser location. Ensure that the BrowserName
and the BrowserPath
keys reflect the correct values. For
example: BrowserName=Netscape 7
; BrowserPath=C:\Program
Files\Netscape\Netscape\Netscp.exe
.
If Run to Web Layout fails with an error related to the major.minor
version, you will need to update the environment variables CLASSPATH
or REPORTS_CLASSPATH
, as follows: remove the 9.0.x
ORACLE_HOME
specification in the oc4j.jar
file path (the oc4j.jar
file path should specify only the
10g Release 2 (10.1.2) ORACLE_HOME
).
To re-enter the Graph Wizard, place your cursor anywhere between the <rw:graph>
and </rw:graph>
tags in the Web Source view, then choose
EditSettings.
To customize your graph XML definition beyond the scope of the Graph Wizard,
you can directly edit the XML in the Web
Source view . The full list of attributes available is defined in the
DTD file, graph.dtd
.
Note: The graph.dtd
is available in the following
locations:
ORACLE_HOME\jlib\bigraphbean.jar
In Getting Started with Oracle Reports on the Oracle Technology
Network (OTN): on the Oracle Reports 10g page (http://www.oracle.com/technology/products/reports/index.html
),
click Getting Started to display the Getting Started
with Oracle Reports home page. In the list of topic sections on the
left, click Index. In the Collateral Type
list, choose Documentation and click Search.
In the list that displays, find the Documented Graph DTD.
Adding a graph to a paper-based report
Copyright © 1984, 2005, Oracle. All rights reserved.