Creating portlet charts  Creating a pie graph charting portlet

Chapter 6: Charting Portlets

Creating a bar graph chart

These steps reference the Yahoo-Bonds portlet created as an example in the previous section, but you can use any portlet that contains tabular data.

StepsCreating a bar graph of the Yahoo-Bonds portlet

  1. In Web Studio, select Build | Portlets from the left pane.

  2. In the detail view, select Status | New to locate your portlet. Right-click the portlet you just created and select Create Chart.

    The Charting Portlet wizard opens in a new window and displays all available structured grid, table, or list objects included in the current portlet’s content.

  3. Click Select to choose a grid, table, or list object and click Next.

  4. Complete the these fields:

  5. Click Next when you finish with your entries. The Define Chart window appears.

    The Preview section displays the original data from which the chart is built. The Chart Parameters section contains the fields where you define the chart’s appearance.

  6. Complete the Chart Parameters:

    NoteThe Category Labels drop-down list determines which data you can select in Series. If the category label is “None,” choose any row or column for data. If the category label is a column, choose only columns. If the category label is a row, choose only rows.

  7. Click Next for a preview of your chart. To save the results, click Finish.

    A confirmation appears, indicating that the portlet has been saved and updated. Click OK.





Copyright © 2004. Sybase Inc. All rights reserved. Creating a pie graph charting portlet

View this book as PDF