A script-enabled browser is required for this page to function properly.

Adding a graph to a JSP-based Web report

To add a graph to a JSP-based Web report:

  1. In the Object Navigator, double-click the Web Source view icon next to the Web Source node to display the source code in the Web Source view.

  2. 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.

  3. Choose Insertright arrowGraph.

  4. 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: titletext &<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.

  5. Click the Run Web Layout button in the toolbar (or choose Programright arrowRun Web Layout) to display your report and graph in your Web browser.

    Note:
  6. 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 Editright arrowSettings.

    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:

See also

Adding a graph to a paper-based report

Adding a graph hyperlink

Editing a graph

About the Graph Wizard