Copy
Using ADF Data Visualizations (ADF Mastery newsletter October 2015)
View this email in your browser

Using ADF Data Visualizations

One of the under-utilized killer features of Oracle ADF is the Data Visualization compontents. When you see the application that Oracle build themselves with ADF (Fusion Applications, Enterprise Manager), you'll notice that they use of a lot of visualizations. You application could probably benefit from some, too.
 

This newsletter contains the following sections:
  • Learning ADF DVT components
  • Which visualization components to use
  • The new visualizations

Learning ADF DVT Components

When you have defined a data control, you can often simply choose a DVT component when you drop it on a page. Experiment with the various types and settings to see what they look like. 

The ADF Rich Client Demo also shows the visualizations in action. 

 

If you want a tutorial, Oracle has one that covers Bar charts, Gauges, Gantt charts, Geographical Maps and Pivot table:  http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/dvt_graph/gant_chart_pivot_table.htm

Which Visualization Components to Use

Data visualization is a separate sub-compentency within user experience, and if you are lucky enough to have access to data visualization professionals, make use of their skills. With its wide variety of visualization components, you will generally find that ADF has a component that can implement what your visualization designer specifies. 
 
However, normal programmers with a bit of interest visualization and a willingness to experiment can also improve the user experience significantly. Here are a few tips to get started:
  • Do use Gauges (types Status Meter and LED). They are very compact and work well in tables
  • Do use Bar charts for discrete values over time
  • Do use Horizontal Bar for discrete values that are not time-based. Horizontal layout gives you space for a longer label that vertical. 
  • Do use Line charts for continuous value over time
  • Don't use Area charts because one area might overlap another, hiding information from the user
  • Don't use Pie charts. The eye is not good at comparing angles, a horizontal bar is easier to read.
If you want to learn more about data visualization, I recommend the book "Show me the Numbers" by Stephen Few. 
I do ADF architecture consulting, training, workshops, online mentoring and many other things to make Oracle ADF projects successful. If you need a hand or just wonder if I might be able to help, send me an e-mail at sten@vesterli.com.

The New Visualizations

In JDeveloper 12.1.3.0.0 and 11.1.1.9.0, all of the visualizations have been rewritten to work on the client side. This means that the visualizations offload processing to the browser and can achieve much better responsiveness. If you use ADF visualizations, seriously consider moving to one of these versions to get a snappier user experience and remove load from your WebLogic server.

Right now, four rarely-used visualizations haven't made it to the client side. These are Funnel, Pareto, Radar, and Stock. Oracle currently recommends that you don't use these because they still run on the server side. I don't much misse Funnel, Pareto and Stock, but I'm hoping the Radar diagram will appear on the client in a future release.

Feel free to forward this newsletter to others who might find it useful.
If you have received a copy of this newsletter from someone else and want to subscribe yourself, you can sign up here. You can also sign up for my Technology That Fits newsletter.
Copyright © 2015 More Than Code ApS, All rights reserved.


unsubscribe from this list    update subscription preferences