OpenAPI 1.0

com.aquafold.openapi.chart
Interface AQBIChartModel


public interface AQBIChartModel

BIChartModel

Synopsis:

BIChartModel contains the data to be rendered in the chart.

Description:
BIChartModel provides an interface to query and modify the chart's underlying data set.


Method Summary
 List<String> getColumnFields()
          Get the list of datasource fields containing column header values
 AQDataSource getDataSource()
          Get the chart model's underlying DataSource (for example, an AQDataSet or AQPivotDataSet).
 List<String> getRowFields()
          Get the list of datasource fields containing row header values
 void setColumnFields(String... columnFieldNames)
          Select column headers from one or more fields in the datasource
 void setDataSource(AQDataSet dataSet)
          Use the specified AQDataSet as the Chart Model's data source.
 void setDataSource(AQDataSource dataSource)
          Use the specified AQDataSource as the Chart Model's data source
 void setDataSource(AQPivotDataSet pivotDataSet)
          Use the specified AQPivotDataSet as the Chart Model's data source
 void setRowFields(String... rowFieldNames)
          Select row headers from one or more fields in the datasource
 

Method Detail

setDataSource

void setDataSource(AQDataSet dataSet)
Use the specified AQDataSet as the Chart Model's data source.

Parameters:
dataSet - AQDataSet containing rows and columns of data. If null, then values must be explicitly added using the add/insert/set methods.

getDataSource

AQDataSource getDataSource()
Get the chart model's underlying DataSource (for example, an AQDataSet or AQPivotDataSet).

Returns:
dataSource Chart Model's AQDataSource containing rows and columns of data

setDataSource

void setDataSource(AQDataSource dataSource)
Use the specified AQDataSource as the Chart Model's data source

Parameters:
dataSource - AQDataSource containing rows and columns of data. If null, then values must be explicitly added using the add/insert/set methods.

setDataSource

void setDataSource(AQPivotDataSet pivotDataSet)
Use the specified AQPivotDataSet as the Chart Model's data source

Parameters:
pivotDataSet - AQPivotDataSet containing rows and columns of data. If null, then values must be explicitly added using the add/insert/set methods.

getRowFields

List<String> getRowFields()
Get the list of datasource fields containing row header values

Returns:
List of row fields in datasource

setRowFields

void setRowFields(String... rowFieldNames)
Select row headers from one or more fields in the datasource

Parameters:
rowFieldNames - Name of field in datasource

getColumnFields

List<String> getColumnFields()
Get the list of datasource fields containing column header values

Returns:
List of column fields in datasource

setColumnFields

void setColumnFields(String... columnFieldNames)
Select column headers from one or more fields in the datasource

Parameters:
columnFieldNames - Name of field in datasource

OpenAPI 1.0


Copyright © 2010 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.