|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.chart.model.DefaultChartModel
public class DefaultChartModel
Default implementation of ChartModel.
| Constructor Summary | |
|---|---|
DefaultChartModel(Number[][] data)
Constructs a new DefaultChartModel with the provided data. |
|
DefaultChartModel(Number[][] data,
String[] rowHeaders,
String[] columnHeaders)
Constructs a new DefaultChartModel with the provided data and row / column headers. |
|
| Method Summary | |
|---|---|
Number |
getCellValue(int rowIndex,
int columnIndex)
Returns the specified cell value. |
int |
getColumnCount()
Number of data columns. |
String |
getColumnHeader(int columnIndex)
Returns the label for the specified data column. |
int |
getRowCount()
Number of data rows. |
String |
getRowHeader(int rowIndex)
Returns the label for the specified data row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultChartModel(Number[][] data)
DefaultChartModel with the provided data.
data - chart data.
public DefaultChartModel(Number[][] data,
String[] rowHeaders,
String[] columnHeaders)
DefaultChartModel with the provided data and row / column headers.
data - chart data.rowHeaders - row headers.columnHeaders - column headers.| Method Detail |
|---|
public int getRowCount()
ChartModel
getRowCount in interface ChartModelpublic int getColumnCount()
ChartModel
getColumnCount in interface ChartModel
public Number getCellValue(int rowIndex,
int columnIndex)
ChartModel
getCellValue in interface ChartModelrowIndex - row index.columnIndex - column index.
public String getRowHeader(int rowIndex)
ChartModel
getRowHeader in interface ChartModelrowIndex - row index.
public String getColumnHeader(int columnIndex)
ChartModel
getColumnHeader in interface ChartModelcolumnIndex - column index.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||