BaseChart | +-- PieChart
org.ow2.opensuit.xml.chart.PieChart
Attributes | ||
mandatory
int
|
Width |
Image width (in pixels). |
mandatory
int
|
Height |
Image height (in pixels). |
optional
boolean
|
ShowLegend |
Determines whether the char displays the legend.Default: true. |
optional
String
|
IteratorVar |
The name of the item contextual bean. This bean is available at render-time only. Default: $item. |
optional
String
|
ValueVar |
The name of the value contextual bean. This bean is available at render-time only. Default: $value. |
optional
PieChartStyle |
Style |
Determines the pie style. Default: TwoD. |
Named Children Elements | ||
optional
binding.Expression |
AutoReloadInterval |
Enables chart auto-reload. This expression returns the auto-reload time interval (in milliseconds). A null value (0) disables the auto-reload behavior. Note: with auto-reload behavior, the 'ChartTime' expression should always return System.currentTimeMillis() |
mandatory
binding.Expression |
ChartTime |
The chart time. This expression returns a timestamp (long) representing the latest time when data required to produce the chart was computed. |
mandatory
binding.Expression |
Title |
The chart title. This will be displayed inside the chart image, and will also be used as the image filename. |
0 - unbounded
binding.Do[] |
OnPreRender |
Some actions to perform at prerender time. This is where you may use the $control object to invalidate() the cached chart. |
mandatory
binding.Expression |
Items |
Gives a vector of items representing pie sectors. |
mandatory
binding.Expression |
ItemName |
Evaluates the name of a given pie item. Supported contextual beans: $item |
mandatory
binding.Expression |
ItemValue |
Evaluates the value of a given pie item. Supported contextual beans: $item |
optional
binding.Expression |
ItemTooltip |
Defines the tooltip for a given pie item. Supported contextual beans: $item, $value |
optional
action.IAction |
OnClickItem |
Defines the action to perform when a given pie item is clicked. Supported contextual beans: $item, $value |