Workbench User Guide : Generating Fields from Predefined Templates : How You Can Add a Generated Field to a Frame : The line_graph Field Template
 
Share this page          
The line_graph Field Template
The line_graph field template creates a line graph that displays data from one to three data sets in a standard line graph format. The content of the graph is determined completely through the Graph Assistant that serves both the bar_graph and line_graph field templates.
Create a Line Graph
You can create a line graph field using the line_graph field template in the Frame Editor.
To create a line graph field
1. On the Develop tab, in the Components portlet, open the frame in which you want to create the field from the field template.
2. Click Insert, Field From Field Template.
The Select a Field Template dialog appears.
3. Select the core application and the line_graph template, and then click OK.
4. Click the cursor on the frame where you want to anchor the upper left corner of the graph.
Note:  The line graph field is large compared to most frame fields. You should allow generous distances between it and adjacent fields.
The Graph Assistant appears.
5. Complete the dialog using the information provided in Create a Bar Graph Field.
6. Click Generate.
After the graph is created, it is displayed in the Frame Editor as various components within a subform.
For more information about how to make changes to the generated graph, see How You Can Edit a Bar Graph Field.
How a Line Graph Field Is Displayed
Upon executing the frame containing your line graph field, the field displays the data named in the Graph Assistant.