Structure of Graphs

The main class in the Java-client Graph Bean is the Graph class, which is defined in the oracle.dss.graph package. The Graph class extends the oracle.dss.dataView.Dataview class, as does the GridView class. The Java-client Table Bean and Crosstab Bean classes extend GridView.

The main class in the HTML-client Graph Bean is the ThinGraph class, which is defined in the oracle.dss.thin.beans.graph package. The ThinGraph class extends the Graph class.

The following diagram shows these relationships.

Graph class structure, just described

All components of the Graph bean extend the BaseGraphComponent class, which is also defined in the oracle.dss.graph package. The constants for methods of any graph component are defined in the BaseGraphComponent class.

Other components that have common characteristics extend other base classes. All data axis classes (X1Axis, Y1Axis, and Y2Axis) extend BaseDataAxis, which extends BaseGraphComponent. The GraphTitle, GraphSubtitle, and GraphFootnote classes, as well as axis titles, extend BaseGraphTitle. Components that represent data, such as the TwoDMarker, Slice, and so on, extend the BaseDataComponent, which extends BaseGraphComponent. The PlotArea and PieFrame components extend BaseFrame, which extends BaseGraphComponent.

The following diagram illustrates these relationships.

Class structure of graph components; described in text