Inserting pie charts

You can create a pie chart dynamically based on an external data source.

Pie charts have the following properties in the Generator inspector:

Data Source specifies the file name, relative or absolute URL, database connection URL, or Java class URL from which Generator will obtain the data. You must specify value and color columns.

Depth specifies the amount of depth to render in the chart (how deep along the Z-axis in units equal to 1/20 of a pixel).

Value Display specifies whether the numeric value data should appear in the chart (Always or Never), or whether it is visible only when the pointer is over the chart area (Rollover). Applies to bar, stacked bar, and scatter charts only.

Border displays or hides a bounding rectangle around the chart object displayed in the color value specified in the Color property.

Value Format sets the font for the chart value labels appearing within the body of the chart.

Value Position specifies whether or not the value label should be positioned inside each pie slice or outside the pie slice in the margins, or whether its position should be automatically determined by Generator based upon the size of the label and the visible area of the slice.

Symbol File identifies the path to an external Generator template containing the symbols to use for chart labels and values. If Labels is set to On, the file must have a symbol named chartLabel1 containing the variable {label} and another symbol named chartValue1 with the variable {value} for values. See Identifying symbols in the library for more information.

Instance Name identifies the instance of the object so that it can be used with actions such as Tell Target and Set Property. See Using variables as parameters for Flash actions for more information on using this parameter.

Line Thickness specifies the width of the chart object's border and gridlines (both major and minor). Each unit equals 1/20 of a pixel.

Color sets the Web-safe color name (for example, black), Web hexadecimal value (for example, #3434aa), or regular hexadecimal value (for example, 0x232356) of the color for the outlines and border of the chart.