public class ChartDataImpl
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.log4j.Logger |
log |
| Constructor and Description |
|---|
ChartDataImpl(DataSourceNode node,
ChartTag tag,
DataSourceNode[] nodeStack,
java.util.Locale locale)
Returns a set of data used to create a chart.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
convertSelect(DataSourceNode node,
java.lang.String datasource,
java.lang.String select,
DataSourceNode[] stack,
java.lang.String dataType,
java.util.Locale locale)
Processes a select for a scalar result.
|
ChartDataSet |
getData()
Returns a set of data used to create a chart.
|
public ChartDataImpl(DataSourceNode node, ChartTag tag, DataSourceNode[] nodeStack, java.util.Locale locale) throws DataSourceException
node - The datasource node on.tag - The wr:chart tag with the select setting to use.nodeStack - 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.DataSourceExceptionpublic ChartDataSet getData()
throws DataSourceException
DataSourceExceptionpublic static java.lang.Object convertSelect(DataSourceNode node, java.lang.String datasource, java.lang.String select, DataSourceNode[] stack, java.lang.String dataType, java.util.Locale locale) throws DataSourceException
node - The node we're on.datasource - The datasource name.select - The select.stack - The node stack.dataType - The data type.DataSourceExceptionCopyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software