The thin graph is a BI Beans thin bean, for use in an HTML-client application. It presents data in a graphic form. When you display a View Toolbar in the same HTML page, you can allow users to rotate the data in the thin graph, change the view type, sort the data, and apply favorites.
The ThinBeanUI
implementation of the thin graph is the oracle.dss.thin.beans.graph.ThinGraph
class. The UINode
for the thin graph is oracle.dss.thin.beans.graph.GraphBean
.
Your servlet must associate
the ThinGraph
object with the GraphBean
object.
The JSP tag for this bean is the Presentation
tag. In the UIX Language, the definition element is the presentationDef
element, and the UINode
is the presentation element.
To change the appearance of a thin graph, you set properties of the ThinGraph
object. When you work with a graph in JDeveloper, that graph is a Java-client
graph. When you save the graph, the graph is saved as XML. This same XML can
then be opened as a thin graph in your HTML-client application, but you must
configure
the BI Beans catalog for thin beans before you open the XML in your application.
You should store a ThinGraph
in the HTTP session whenever the thin graph displays live data and you are not using graph pooling. If you use graph pooling, then you store the Query
in the HTTP session, but not the ThinGraph
. You can store the XML for the graph on the session, rather than putting state information in the URL.
The thin graph generates and handles the same events as the other thin presentation beans.
To display the paging control, call the setPagingControlVisible
method. You should also use a Find Member dialog, so that the paging control can provide access to all of the members for each page dimension.
Use a View Toolbar to allow users to rotate data, to sort dimension members, to apply favorites, or to change the view type. You can also use the tools individually.
By default the thin graph does not enable drilling. To support drilling in a thin graph, call the setDrillingEnabled
method of the ThinGraph
object.