A typical waterfall chart shows how an initial value is increased and decreased by a series of intermediate values, leading to a final value. An invisible column keeps the increases and decreases linked to the heights of the previous columns.
For instance, we’d like to graphically represent the weight of a brand in the global evolution of sales between two FY. I recently was asked by a customer to build the following chart :
One can simply create a waterfall chart in Answers using vertical stacked bars but a fancy looking chart would mean no gap between the bars. As there is no option to act on margin in the bar’s properties, the only way to achieve this is to build your own custom chart type e.g a new chart template has to be created. The apparent suspension of the brick in mid-air needs a calculated « filler » measure in the query that will be stacked the other measures and invisible (actually white)
This workaround has some limits:
o No way to display values inside the columns (use drill down to detail)
o On mouse roll-over filler columns values will appear
o Use of rectangle style for bars is mandatory otherwise filler columns will not remain invisible.
o Closely linked to the used style : chart template has to be duplicated in every style’s folder
o Closely linked to the language : customization to be replicated for each language
Let us assume that the query is already built (just ask how if needed). Now, just have a look at the basic 2D stacked bar chart below. What we want to do is to visually "glue" the bars.
Let's create a new template :
Step 1
Under [OracleBI_HOME]\web\app\res\s_oracle10\popbin
Copy column.pcxml file to columnforbridge.pcxml
Open the renamed file and adjust the graph properties (add PercentBarWidth attribute)
<Properties BarStyle='Cylinder' PercentBarWidth='100' Effect='2D'/>
Step2
Under [OracleBI_HOME]\web\app\res\s_oracle10\charts
Copy column cxml file paste it and rename it to columnforbridge.cxml
Step3
Copy the two brand new files under
[OracleBI_HOME]\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10
Step4
Create a new customMessages folder under [OracleBI_HOME]\web\msgdb\l_en (adjust folder according to your language)
In this new folder, create a new custommessages.xml file with the following content :
Note : depending your language adapt the graph label
Step5
Edit [OracleBI_HOME]\web\app\res\s_oracle10\charts\columnforbridge.cxml
then set
displayNameRef="kmsgChartBridgeVerticalBar"
and
Close and save the file.
Step6
Restart Oracle BI Java Host and Oracle BI Presentation Service
Get back to your chart and select your brand new chart type «Vertical bars for Waterfall»
Adjust formatting, colors, labels….et voilà :

