Wednesday, February 12, 2014

OBIEE 11g: How Can You Modify the Colours Available in a Chart?

You can define up to 12 different new colors of your choice.

1. Back-up $MIDDLEWARE_HOME/Oracle_BI1/bifoundation/web/msgdb/s_blafp/viewui/chart/dvt-graph-skin.xml

  OR     $MIDDLEWARE_HOME/Oracle_BI1/bifoundation/web/msgdb/s_FusionFX/viewui/chart/dvt-graph-skin.xml (For version 11.1.1.7.0)


2. Edit dvt-graph-skin.xml as follows:


  <Graph>
  <SliceLabel>
  <!-- decimalDigitUsed is false here so that non-percentage pie slices do not pick up this   value
  The DVTChartProcessor sets decimalDigitUsed to true if this is a percentage pie slice -->
  <ViewFormat decimalDigit="2" decimalDigitUsed="false"/>
  </SliceLabel>

  <SeriesItems>
   <Series id="0" color="#FF0000" borderColor="#FF0000"/>
   <Series id="1" color="#00FF00" borderColor="#00FF00"/>
   <Series id="2" color="#0000FF" borderColor="#0000FF"/>
   <Series id="3" color="#000000" borderColor="#000000"/>
   <Series id="4" color="#FFFFFF" borderColor="#FFFFFF"/>
   <Series id="5" color="#FFFF00" borderColor="#FFFF00"/>
   <Series id="6" color="#FFC0CB" borderColor="#FFC0CB"/>
   <Series id="7" color="#DDA0DD" borderColor="#DDA0DD"/>
   <Series id="8" color="#800080" borderColor="#800080"/>
   <Series id="9" color="#808080" borderColor="#808080"/>
   <Series id="10" color="#8A2BE2" borderColor="#8A2BE2"/>
   <Series id="11" color="#FF00FF" borderColor="#FF00FF"/>
  </SeriesItems>
  </Graph>

3. Stop and start your BI Services.

Metalink Note Reference :
https://support.oracle.com/epmos/faces/DocumentDisplay?id=1302681.1

No comments:

Post a Comment