net.windward.datasource
Class ChartDataImpl
java.lang.Object
|
+--net.windward.datasource.ChartDataImpl
- public class ChartDataImpl
- extends java.lang.Object
Uses existing DataSource calls to handle chart data requests.
- Version:
- 4.0 Jul 15, 2005
|
Method Summary |
net.windward.datasource.ChartDataSet |
getData()
Returns a set of data used to create a chart. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChartDataImpl
public ChartDataImpl(DataSourceNode node,
ChartTag tag,
DataSourceNode[] stack,
java.util.Locale locale)
- Returns a set of data used to create a chart. The structure of this is tied tightly to the chart package.
- Parameters:
node - The datasource node on.tag - The wr:chart tag with the select setting to use.stack - The stack of forEach loops in at this point. Node [0] is the root document node so this will always
have length of at least 1.locale - The locale used for formatting numbers, dates, etc.
getData
public net.windward.datasource.ChartDataSet getData()
throws DataSourceException
- Returns a set of data used to create a chart. The structure of this is tied tightly to the chart package.
- Returns:
- The data used by the charting functions to create the chart.
- Throws:
DataSourceException - Could not retrieve the data. Generally wraps a SqlException or XpathException.
Copyright © 2002 - 2008 Windward Reports - All Rights Reserved. java reporting software