| xui.samples.carousel.components.LineChart
LineChart | public class LineChart extends XPage (Code) | | Demonstarte some features of the charting component
Copyright: Xoetrope Ltd. (c) 2001-2006
License: see license.txt
$Revision: 1.6 $
|
Method Summary | |
public void | pageCreated() | public void | printChart() | public void | setMode() A response handler for the radio buttons. | protected void | setupChart(boolean animate, boolean outputTable) | public void | showChart(int chartType, String[] seriesNames, boolean animate) Setup the chart
Parameters: chartType - the type of chart e.g. | public void | toggleFade() |
LineChart | public LineChart()(Code) | | Creates a new instance of LineChart
|
pageCreated | public void pageCreated()(Code) | | Do some chart setup
|
printChart | public void printChart()(Code) | | Print the chart
|
setMode | public void setMode()(Code) | | A response handler for the radio buttons. Uses the mode attribute to
determine the chart setting
|
setupChart | protected void setupChart(boolean animate, boolean outputTable)(Code) | | Setup the chart data
Parameters: animate - true to animate Parameters: outputTable - true to output data to tables instead of charts |
showChart | public void showChart(int chartType, String[] seriesNames, boolean animate)(Code) | | Setup the chart
Parameters: chartType - the type of chart e.g. performance, current etc.. Parameters: seriesNames - the names of the data series Parameters: animate - true to animate |
toggleFade | public void toggleFade()(Code) | | A response handler for the fade button - toggles the chart animation
|
|
|