Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Using the Graph presentation style – PB Docs 2021 – PowerBuilder Library

Using the Graph presentation style – PB Docs 2021

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.

One advantage of the Graph presentation style is that the graph
resizes automatically if users resize the DataWindow control associated
with the graph DataWindow object at runtime.

To use the Graph presentation style:

  1. Select File>New from the menu bar.

    The New dialog box displays.

  2. Select the DataWindow tab.

  3. Select the Graph presentation style, then click OK.

  4. On the Choose Data Source for Graph DataWindow page, specify
    the data you want retrieved into the DataWindow object.

    For more information, see Defining
    DataWindow Objects
    .

  5. On 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.

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

  7. On the Ready to Create Graph DataWindow page, review your
    specifications and click Finish.

    A model of the graph displays in the Design view.

  8. Specify the properties of the graph, as described in Defining a graph’s properties.

  9. Save the DataWindow object in a library.

  10. Associate the graph DataWindow object with a DataWindow
    control on a window or user object.

    At runtime, the graph fills the entire control and resizes
    when the control is resized.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x