These steps reference the Yahoo-Bonds portlet created as an example in “Creating a portlet with tabular data”, and assume that the portlet is newly created. You can use any portlet containing tabular data.
The steps for creating a line graph are identical to those for creating a bar graph, with the following exceptions:
After you enter a title in the Chart Title field, select Line Graph as the chart format.
When the Define Chart window appears, complete these options in the Chart Parameters section:
X-Axis Label –
Y-Axis Label –
Category Labels –
Show Values –
Series – each series represents one line color of information. The data can be any column or row in your table. Choose meaningful names for display in the legend, and assign each data set a unique color for easy identification. This example uses columns 2, 3, 4, and 5 as series information, naming them “yield”, “yesterday”, “last week”, and “last month” respectively.
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. |
![]() |