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
- Insert the first chart which will be the primary chart that your user will view
- Bind the data, axis labels, series name, etc
- In Appearance>Axis tab, hide the minor and major gridlines
- 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.
- On Appearance>Layout> Check hide chart background
Configure the second chart
- Copy and paste the first chart
- 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.
- Go to Appearance Tab > Text
- Hide the horizontal axis lables.
- Check ?Data Labels? to display the data labels.
- While on the same tab go down an un-check ?Value? and check ?Category Label?
- Now you should see the percentage values.
- 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
- Re-size you second chart?s height so the vertical axis labels sit right on top of each other
- 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.
- Move the second chart behind the first and you are done!!!