General Interface is an open source project hosted by the Dojo Foundation

Pie Chart

The following properties can be configured for all Pie chart components:

Property Description
Name The name of the chart in the Component Hierarchy palette.
Left The size of the blank space, in pixels, to leave at the left edge of the bounding box. If absolutely positioned, the default is 0. If relatively positioned, the default is empty.
Top The size of the blank space, in pixels, to leave at the top edge of the bounding box. If absolutely positioned, the default is 0. If relatively positioned, the default is empty.
Width The chart width in implied pixels or as a percentage. For example, 100 or 25%.
Height The chart height in implied pixels or as a percentage. For example, 100 or 25%.
Relative XY Whether to use relative or absolute positioning for the chart, in relation to its container. The default value is Relative.
Inner Radius The radius of the inner circle of the chart as a ratio of the radius of the outermost series. Specify a value from 0.0 to 1.0. The default value is 0.0.
Series Padding The amount of padding between series, as a ratio of the width of a series. The default value is 0.
Total Angle The angle, in degrees, equal to 100% of the sum of the values in a series. A value of 360 renders a traditional pie chart, and smaller values render a pie chart with a slice missing. A series can override this value using the series Total Angle property. The default value is 360.
Start Angle The initial angle of the first slice in each series. A value of 0 points north and increasing values continue clockwise. A series can override this value using the series Start Angle property. The default value is 0.
Category Field The name of the attribute in each CDF record containing category values. These values are displayed as entries in a legend.
Colors A comma-separated array of vector fill values used to color in the slices in each series. The syntax for each value is color [alpha], where color is specified as a predefined color name, RGB, or hexadecimal value. For example, red, rgb(255,0,0), or #ff0000. alpha is an optional float value between 0.0 and 1.0. If no value is specified, the default coloring scheme is used. A series can override this value using the series Colors property.
Series Stroke The vector stroke for outlining each series. The syntax is color [width [alpha]], where color is specified as a predefined color name, RGB, or hexadecimal value. For example, red, rgb(255,0,0), or #ff0000. width is an optional integer value specifying the width of the stroke in pixels. alpha is an optional float value between 0.0 and 1.0. A series can override this value using the series Stroke property.
Color Function A function, specified instead of the series Colors property, that returns a VectorFill for a particular slice. A series can override this value using the series Color Function property. If no value is specified, the default coloring scheme is used.
XML Cache Id The string identifier of the cached CDF file with chart data. This string is displayed in the Local Data Cache palette.
XML String The XML string (CDF) with chart data.
XML URL The URL of the CDF file with chart data. The file can be local or remote. Paths can be relative or absolute.
Share Resources Whether to delete the associated CDF document when the chart component is recycled in the Component Hierarchy palette. If Share is specified, the document remains in cache after the component is recycled. The default value is Cleanup.
BG Color The RGB value of the chart background fill. Specify as a predefined color name, RGB, or hexadecimal value. For example, red, rgb(255,0,0), or #ff0000.
BG Alpha The alpha value (opacity) of the chart background fill. Specify a value from 0.0 (fully transparent) to 1.0 (fully opaque). The default value is 1.0.
Border Color The RGB color of the chart border. Specify as a predefined color name, RGB, or hexadecimal value. For example, red, rgb(255,0,0), or #ff0000.
Border Width The width, in pixels, of the chart border. The default value is 1.
Border Alpha The alpha value (opacity) of the chart border. Specify a value from 0.0 (fully transparent) to 1.0 (fully opaque). The default value is 1.0.
Padding The CSS padding value between the chart border and the contents of the chart. Specify a single value to use on all sides, such as 5, or a set of values separated by spaces for top, right, bottom, and left, such as 5 0 5 0.
Data Area Padding The CSS padding value for the data area. Specify a single value to use on all sides, such as 5, or a set of values separated by spaces for top, right, bottom, and left, such as 5 0 5 0. The default value is 0.
Title Placement The location of the chart title, one of top, right, bottom, left. The default value is top.
Legend Placement The location of the legend, one of top, right, bottom, left. The default value is right.
Bound Menu A menu to display when a user right-clicks on the chart with the mouse. Specify the name of the menu component as displayed in the Component Hierarchy palette.

Contents

Searching General Interface Docs

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.