Show Percentage Change in Xcelsius / SCDD Charts

b.gif
b.gif

I recently had a requirement to show a month over month change by percentage in an Xcelsius chart. As you may have found out, there is no way to customize the tooltip labels within Xcelsius and SAP Crystal Dashboard Design charts. To fill in the requirement, I came up with a interesting workaround to use a second chart, with the new chart labels feature from SP3 to display month over month changes.

Pros- You can get closer than prior versions of Xcelsius to get what customers ask for in charting with all other functionality like ignore end blanks intact

Cons- I have to insert a second chart and you can only display one value.

In a perfect world, I would be granted with 100% control over what data I display in Xcelsius chart tooltips. That way I can show the following for any bar:

  • Bar value the
  • X-Axis label
  • Series name
  • Month over month change both as a value and as a %
  • Change the color of the % change based on pre-determined alert thresholds

All things considered, if you only have a few charts in your dashboard this workaround is not too bad, and looks great.

Here are a few notes in how to re-produce this functionality.

Configure the first chart

  1. Insert the first chart which will be the primary chart that your user will view
  2. Bind the data, axis labels, series name, etc
  3. In Appearance>Axis tab, hide the minor and major gridlines
  4. Delete the title and sub-title. Since you will overlay 2 charts on top of each other, you don?t want to worry about the titles. Instead you can use labels.
  5. On Appearance>Layout> Check hide chart background

Configure the second chart

  1. Copy and paste the first chart
  2. Change the X-Axis labels to the % delta for month over month. If you complete this step and thought I made a typo, I did mean the X Axis labels and not the values. What you want to end up with is a second chart where the bars are identical, but the x axis labels are percentage values. I know it does not sound correct, but the magic will happen in the next few steps.
  3. Go to Appearance Tab > Text
  4. Hide the horizontal axis lables.
  5. Check ?Data Labels? to display the data labels.
  6. While on the same tab go down an un-check ?Value? and check ?Category Label?
  7. Now you should see the percentage values.
  8. Align the two charts on top of each other using the lower left vertical and horizontal axis points so they sit right on top of each other
  9. Re-size you second chart?s height so the vertical axis labels sit right on top of each other
  10. I usually go back and make the second chart?s vertical axis lables white. This way I don?t get any odd shadows if it is off by a few pixels.
  11. Move the second chart behind the first and you are done!!!

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24260552/viewspace-740642/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/24260552/viewspace-740642/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值