Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.0.0)

E17492-01

oracle.dss.graph
Class NotEnoughData

java.lang.Object
  extended by oracle.dss.graph.NotEnoughData

public class NotEnoughData
extends java.lang.Object

Information about why there is not enough data to display a graph. When the 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.

See Also:
DataErrorTextCallback

Field Summary
 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 Summary
NotEnoughData()
          Constructor.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

insufficientDataCondition

public int insufficientDataCondition
How the data is insufficient. Constants are listed in the See Also section.

See Also:
NOT_ENOUGH_COLUMNS, NOT_ENOUGH_ROWS, NOT_ENOUGH_COLUMNS_AND_ROWS

actualColumnCount

public int actualColumnCount
The number of actual columns of data.


requiredColumnCount

public int requiredColumnCount
The number of columns of data that the current graph type requires.


actualRowCount

public int actualRowCount
The number of actual rows of data.


requiredRowCount

public int requiredRowCount
The number of rows of data that the current graph type requires.


NOT_ENOUGH_COLUMNS

public static final int NOT_ENOUGH_COLUMNS
Insufficient data condition: Not enough columns. The current graph type requires more columns than the data actually has. For example, a scatter graph requires at least two columns: one for the X-axis value and one for the Y-axis value.

See Also:
Constant Field Values

NOT_ENOUGH_ROWS

public static final int NOT_ENOUGH_ROWS
Insufficient data condition: Not enough rows. The current graph type requires more columns than the data actually has. For example, dual-Y graph requires at least two rows: one to assign to the X-axis, and one to assign to the Y-axis.

See Also:
Constant Field Values

NOT_ENOUGH_COLUMNS_AND_ROWS

public static final int NOT_ENOUGH_COLUMNS_AND_ROWS
Insufficient data condition: Not enough columns and not enough rows. The current graph type requires more columns and rows than the data actually has. For example, a dual-Y area graph requires at least two columns to define the shape of an area marker. It also requires two rows: one to assign to the X-axis, and one to assign to the Y-axis.

See Also:
Constant Field Values
Constructor Detail

NotEnoughData

public NotEnoughData()
Constructor. Application developers should never have to construct this object.


Oracle Fusion Middleware Java API Reference for Oracle Data Visualization Components
11g Release 2 (11.1.2.0.0)

E17492-01

Copyright © 1997, 2011, Oracle. All rights reserved.