Using the Graph presentation style

Instead of embedding a graph in a DataWindow object, you can use the Graph presentation style to create a DataWindow object that is only a graph—the underlying data is not displayed.

StepsTo use the Graph presentation style:

  1. Select File>New>Other from the menu bar of the Web Application Development perspective. The Select a Wizard page opens.

  2. Expand Sybase and select DataWindow. Then, click Next. The New DataWindow Object wizard opens.

  3. In the Create DataWindow Object page, enter values for the following fields and click Next.

    Field

    Value

    DataWindow library

    Specify the library in which the DataWindow object is to be saved.

    DataWindow name

    Enter the name of the DataWindow object you want to create.

    Presentation style

    Choose Graph as the presentation style for the DataWindow object.

  4. In the Database Connection Profile page, select an existing database connection profile or create a new one. To create a new database connection profile, see Step 4 in “To create a new DataWindow library:.”

  5. In the Choose Data Source for DataWindow page, specify the data source for the DataWindow object. If you want data to be retrieved into the Preview view automatically, select the Retrieve on Preview check box.

  6. In the Define Graph Data page, enter the definitions for the series, categories, and values, as described in “Associating data with a graph”, and click Next.

    Note that when using the Graph presentation style, the graph always graphs all rows; you cannot specify page or group.

  7. In the Define Graph Style page, enter a title for the graph, select a graph type, and click Next.

  8. In the Ready to Create Graph DataWindow page, review your specifications and click Finish.

    A model of the graph displays in the Design view.

  9. Specify the properties of the graph, as described in “Defining a graph's properties”.