Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 42 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 277 Oracle Analytics and AI News
- 54 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Idea Labs
- Oracle Analytics and AI User Groups
- 103 Oracle Analytics and AI Trainings
- 19 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
Stacked Charts with Totals
Summary
Stacked Charts with Totals
Content
hello,
i find an article that concerns a way to add total to stacked chart
https://blogs.oracle.com/xmlpublisher/stacked-charts-with-totals
but the download sample
http://blogs.oracle.com/xmlpublisher/resource/files/stackedbar.zip
is unreacheable.
Is it possible to reactivate the dead link ?
best regards
jm
Answers
-
From what i understand, just generate the data with some total value and then use the following calc to make it work
<Cell><xsl:value-of select="VAL1+VAL2" /></Cell>
We also set the val2 and val2 values to be of type MT_BAR and the total to be MT_MARKER using the SeriesItems tag.
In the example below I have thrown out the TOTAL value and replaced it with a calculation
<Cell><xsl:value-of select="VAL1+VAL2" /></Cell>
So we need the total value initially to get the chart dialog to build the data portion of the chart XML. Then we can modify the XML with the calculation.
--YG
0