默认情况下,11g的图形是有阴影的,如下图所示:
就是这个阴影导致了左边白色部分不能完全溶入背景当中,非常的不好看。怎么将其去掉呢?
方法如下:
找到如下目录
Oracle_BI1/bifoundation/web/msgdb/s_blafp/viewui/chart
打开
dvt-graph-skin.xml
内容如下:
<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>
<Title>
<!-- attributes supported - fontColor="#0", bold="true", italic="true", underline="true" -->
<GraphFont fontColor="#0" bold="true"/>
</Title>
</Graph>
修改成如下:
<Graph visualEffects="NONE">
<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>
<Title>
<!-- attributes supported - fontColor="#0", bold="true", italic="true", underline="true" -->
<GraphFont fontColor="#0" bold="true"/>
</Title>
</Graph>
可以看到我们在Graph标签里添加了visualEffects="NONE"属性。
重启即可!