Generating graphs with JHeadstart

Wouter van Reeven
0 0
Read Time:1 Minute, 18 Second

One of our recent buisiness cases required the availability of graph representations of data in an application generated with JHeadstart. At first I started out with JFreeChart and ChartCreator, until my colleague and former JHeadstart team memeber Peter Ebell advised me to use the graph generation capabilities of JHeadstart. The charts are based on Oracle BI Beans technology. This article summarizes my successful attempts to generated graphs with JHeadstart.

....

Following the instructions in the JHeadstart Developers Guide in the section "Generating a Graph", I created a graph item based on the Employee Salary in the JHeadstart Application Definition Editor (ADE). The result of this generation is shown in the following image

 

Basically, it shows a graph representation of ALL employees in one graph. This has led me to believe that the graph is built upon all data in the DataControl that is used to generate the graph. This theory can easily be proved by generating a graph based upon the same Employee Salary field in the Employee view that is a detail group of the department group. Now, only the Salaries of the Employees in the current department are shown, as can be seen in the next screenshot


So, generating graphs with JHeadstart is easy! It looks like the usage of these graphs is limited to general properties of ViewObjects, but inventing smart ViewObjects can really expand the usage of these graphs. Furthermore, JDeveloper has a very powerful editor for the graphs, as is shown in this next image (pardon the Dutch language in the image)


 

About Post Author

Wouter van Reeven

Wouter is Java consultant at AMIS
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %
Next Post

Report from Oracle Open World 2007 - Slides from our Knowledge session

Last month we organized a Knowledge Center session on Oracle Open World 2007. AMIS consultants Peter, Sjoerd, Harm and Lucas were joined by Lonneke from Approach Alliance to present their findings on the main trends and hottest development during the largest Oracle show on earth. The slides they presented contain […]
%d bloggers like this: