Element XYChart

BaseChart
  |
  +-- XYChart
Substitution Groups:
html.IView

org.ow2.opensuit.xml.chart.XYChart


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 SerieVar The name of the serie contextual bean.
This bean is available at render-time only.
Default: $serie.
optional   String XVar The name of the x value contextual bean.
This bean is available at render-time only.
Default: $x.
optional   String YVar The name of the y value contextual bean.
This bean is available at render-time only.
Default: $y.
optional   XYChartStyle Style Determines the chart style.
Default: XYLine.
optional   Orientation Orientation Determines the chart orientation.
Default: horizontal.

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 XAxisLabel Defines the x axis label.
mandatory   binding.Expression YAxisLabel Defines the y axis label.
mandatory   binding.Expression Series Gives a vector of items representing x,y series to display.
mandatory   binding.Expression SerieName Evaluates the name of a given serie.
Supported contextual beans: $serie
mandatory   binding.Expression SerieValues Returns the x,y values of a given serie.
The expected return type is double[][].Supported contextual beans: $serie
optional   binding.Expression ValueTooltip Defines the tooltip for a given x,y value.
Supported contextual beans: $serie, $x, $y
optional   action.IAction OnClickValue Defines the action to perform when a given x,y value is clicked.
Supported contextual beans: $serie, $x, $y