Difference between revisions of "Portlet XML Formatting"
Rmortensen (Talk | contribs) (→Chart XML Tags) |
Rmortensen (Talk | contribs) (→Chart XML Tags) |
||
Line 10: | Line 10: | ||
alt-section [Attributes: number=”{number} color=”#000000”]<br> | alt-section [Attributes: number=”{number} color=”#000000”]<br> | ||
columnlist (See Report XML)<br> | columnlist (See Report XML)<br> | ||
+ | |||
+ | Simple Example: | ||
+ | |||
+ | <marvelitchart percentvalues="false"> | ||
+ | <value-axis low="5" high="50" ticks="11" label="val label" include0="false"/> | ||
+ | <category-axis low="-1" high="10" ticks="2.5" label="cat label" angle="45"/> | ||
+ | <!-- explode is for pie charts only --> | ||
+ | <section number="0" color="#0000FF" explode=".30" /> | ||
+ | <alt-section number="0" color="#0000FF" /> | ||
+ | </marvelitchart> | ||
== Chart XML Examples == | == Chart XML Examples == |
Revision as of 01:06, 27 September 2006
Chart XML Tags
On the Chart Portlet - there is a field to enter XML. The format of the XML is as follows:
marvelitchart [Attributes: percentvalues=”true|false” (pie charts only)]
value-axis [Attributes: low=”{number}” high=”{number}” ticks=”{number}” label=”text” include0=”true|false”]
category-axis [Attributes: low=”{number}” high=”{number}” ticks=”{number}” label=”text” angle=”true|false”]
section [Attributes: number=”{number} color=”#000000” explode=”{percent}”]
alt-section [Attributes: number=”{number} color=”#000000”]
columnlist (See Report XML)
Simple Example:
<marvelitchart percentvalues="false"> <value-axis low="5" high="50" ticks="11" label="val label" include0="false"/> <category-axis low="-1" high="10" ticks="2.5" label="cat label" angle="45"/> <section number="0" color="#0000FF" explode=".30" /> <alt-section number="0" color="#0000FF" /> </marvelitchart>