public class NotEnoughData
extends java.lang.Object
GraphControllerAdapter
receives notification that there
is insufficient data, it passes a NotEnoughData
object to the
notEnoughData
method of the graph.
The graph uses this information to display a message when it cannot display
the graph.
If you implement a DataErrorTextCallback
to customize the
message that the graph displays, then your callback uses the information
in this object to determine the message to pass back to the graph
for display.
If you do not implement a DataErrorTextCallback
, the graph
displays a default message, and you do not need the information in this
object.
If the DataRowShownAsASeries
property of the graph is set to
false, then the graph accounts for the reversal of rows and columns.
DataErrorTextCallback
Modifier and Type | Field and Description |
---|---|
int |
actualColumnCount
The number of actual columns of data.
|
int |
actualRowCount
The number of actual rows of data.
|
int |
insufficientDataCondition
How the data is insufficient.
|
static int |
NOT_ENOUGH_COLUMNS
Insufficient data condition: Not enough columns.
|
static int |
NOT_ENOUGH_COLUMNS_AND_ROWS
Insufficient data condition: Not enough columns and not enough rows.
|
static int |
NOT_ENOUGH_ROWS
Insufficient data condition: Not enough rows.
|
int |
requiredColumnCount
The number of columns of data that the current graph type requires.
|
int |
requiredRowCount
The number of rows of data that the current graph type requires.
|
Constructor and Description |
---|
NotEnoughData()
Constructor.
|
public int insufficientDataCondition
public int actualColumnCount
public int requiredColumnCount
public int actualRowCount
public int requiredRowCount
public static final int NOT_ENOUGH_COLUMNS
public static final int NOT_ENOUGH_ROWS
public static final int NOT_ENOUGH_COLUMNS_AND_ROWS