After building a databound graph component, JDeveloper generates and updates several files which are added to the project and accessible from the Application Navigator.
These files reside in the filesystem at the following location:
<jdev_install>/jdev/mywork/<Application_
name>/ViewController/src/view
File | Description |
---|---|
<object>.java
|
This file is the Java implementation of the Graph bean which lets you programmatically set and get graph properties. |
Graph properties definition file:![]()
<BIGraphDef>.xml
|
This XML file contains graph attributes such as title, subtitle,
footnote, graph type, legend area, and plot area. The default
filename is |
Bindings definition file: |
Contains the Oracle ADF data binding information for the graph. |
Note: The web.xml
file is updated with a graph entry for the graph tag library.
Below are samples of the DataBindings.xml
and the
UIModel.xml
files for a graph component in a web application
consisting of JSP pages and ADF Business Components for the business
service.
<?xml version='1.0' encoding='ISO-8859-1' ?>
<DCContainer
id="untitled1UIModel"
xmlns="http://xmlns.oracle.com/adfm"
Package="view" >
<Contents >
<DCIterator
id="model_AppModuleDataControl_EmployeesView1Iter"
Binds="model_AppModuleDataControl.EmployeesView1" >
</DCIterator>
<DCControl
id="EmployeesView1"
DefClass="oracle.jbo.uicli.graph.JUSingleTableGraphDef"
SubType="DCGraph"
ControlClass="oracle.dss.graph.Graph"
IterBinding="model_AppModuleDataControl_EmployeesView1Iter"
SeriesType="SINGLE_SERIES"
SeriesLabel="EmployeeId"
GraphPropertiesFileName="view.BIGraphDef1" >
<Contents >
<AttrNames>
<Item Value="EmployeeId" />
<Item Value="Salary" />
<Item Value="CommissionPct" />
<Item Value="ManagerId" />
<Item Value="DepartmentId" />
</AttrNames>
<ColumnLabels>
<Item Value="EmployeeId" />
<Item Value="Salary" />
<Item Value="CommissionPct" />
<Item Value="ManagerId" />
<Item Value="DepartmentId" />
</ColumnLabels>
</Contents>
</DCControl>
</Contents>
</DCContainer>
<?xml version='1.0' encoding='ISO-8859-1' ?>
<JboProject
id="DataBindings"
xmlns="http://xmlns.oracle.com/adfm"
SeparateXMLFiles="false"
Package=""
ClientType="Generic" >
<Contents >
<DataControl
id="model_AppModuleDataControl"
SupportsFindMode="true"
SupportsTransactions="true"
Package="model"
Configuration="AppModuleLocal"
FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl" >
</DataControl>
<Containee
id="untitled1UIModel"
ObjectType="BindingContainerReference"
FullName="view.untitled1UIModel" >
</Containee>
</Contents>
</JboProject>
About Graph Support in ADF Applications
About Graphs and the Business Services Data Model
Choosing a Graph Type in
ADF-Enabled Web Pages
Creating Graphs in ADF-Enabled Web Pages
Customizing Graph Style in ADF-Enabled Web Pages
Changing Graph Data in ADF-Enabled Web Pages
Copyright © 1997, 2004, Oracle. All rights reserved.