In JDeveloper, when you use the Presentation wizard or the JClient Graph wizard to create a graph, you do not have to write code to specify data for the graph. The wizard creates the appropriate data objects and sets them on the graph.
When you display data programmatically in a BI Beans graph, you can specify the data in any of the following ways:
To specify OLAP data, pass a Query
object to the setDataSource
method of the graph. The Query
is defined in the oracle.dss.dataSource.common
package. The Query
is a rich implementation of the oracle.dss.util.DataSource
interface.
To specify BC4J data, pass a JUSingleTableGraphBinding
or
a JUMasterDetailGraphBinding
to the setDataSource
property of the graph. These classes are defined in the oracle.jbo.uicli.jui
package. These classes also implement the DataSource
interface.
You can specify data
in XML and call the setXML
method of the graph.
Data Requirements for
Different Kinds of Graphs
Handling Problems
in Graph Data
Data Series and Groups
About the JClient Graph Panel
(JDeveloper Help)