BaseChart | +-- CategoryChart
org.ow2.opensuit.xml.chart.CategoryChart
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
|
CategoryVar |
The name of the category contextual bean. This bean is available at render-time only. Default: $category. |
optional
String
|
SerieVar |
The name of the serie contextual bean. This bean is available at render-time only. Default: $serie. |
optional
String
|
ValueVar |
The name of the value contextual bean. This bean is available at render-time only. Default: $value. |
optional
Orientation |
Orientation |
Determines the chart orientation. Default: horizontal. |
optional
CategoryChartStyle |
Style |
Determines the chart style. Default: Bar. |
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 |
CategoryAxisLabel |
Defines the category axis label. |
mandatory
binding.Expression |
ValueAxisLabel |
Defines the value axis label. |
mandatory
binding.Expression |
Categories |
Gives a vector of items representing the categories. |
mandatory
binding.Expression |
CategoryName |
Gives a single category name. Supported contextual beans: $category |
mandatory
binding.Expression |
Series |
Gives a vector of items representing the series. |
mandatory
binding.Expression |
SerieName |
Gives a single serie name. Supported contextual beans: $serie |
mandatory
binding.Expression |
Value |
Gives a value for a given category and a serie. Supported contextual beans: $category, $serie |
optional
binding.Expression |
ValueTooltip |
Defines the tooltip for a given chart value. Supported contextual beans: $category, $serie, $value |
optional
action.IAction |
OnClickValue |
Defines the action to perform when a given chart value is clicked. Supported contextual beans: $category, $serie, $value |