Defining a graph's properties
444 DataWindow .NET
2 Specify the rotation you want in the Escapement box using tenths of a
degree (450 means 45 degrees).
Changes you make here are shown in the model graph in the Design view and
in the Preview view.
Using display formats
❖ To use a display format for a text element in a graph:
1 On the Text properties page for the graph, select a text element from the
list in the Text Object drop-down list.
2 Type a display format in the Format box or choose one from the pop-up
menu. To display the pop-up menu, click the button to the right of the
Format box.
Modifying display
expressions
You can specify an expression for the text that is used for each graph element.
The expression is evaluated at execution time.
❖ To specify an expression for a text element in a graph:
1 On the Text properties page for the graph, select a text element from the
list in the Text Object drop-down list.
2 Click the button next to the Display Expression box.
The Modify Expression dialog box displays.
3 Specify the expression.
You can paste functions, column names, and operators. Included with
column names in the Columns box are statistics about the columns, such
as counts and sums.
4 Click OK to return to the graph's Properties view.
Example
By default, when you generate a pie graph, DataWindow Designer puts the title
at the top and labels each slice of the pie with the percentage each slice
represents of the whole. Percentages are accurate to two decimal places.
The following graph has been enhanced as follows:
• The current date displays in the title
• The percentages are rounded to integers
• The raw data for each slice is shown in addition to the percentages