Difference between revisions of "Portlet XML Formatting"

From MT Marvelit
Jump to: navigation, search

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 861

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 862

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 587

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 587

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 861

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 862

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 587

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 587

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 608

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 241

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 242

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954

Deprecated: assert(): Calling assert() with a string argument is deprecated in /home/o3csyjea3ono/domains/wiki.marvelit.com/html/includes/diff/DairikiDiff.php on line 954
(Chart XML Tags)
(Chart XML Tags)
Line 27: Line 27:
 
columnlist (See Report XML)
 
columnlist (See Report XML)
  
Simple Example:
+
=== Simple Example ===
  
 
<marvelitchart percentvalues="false"><br>
 
<marvelitchart percentvalues="false"><br>
Line 37: Line 37:
  
  
Notes:
+
=== Notes ===
 
* section.explode only applies to pie charts (2d and 3d)
 
* section.explode only applies to pie charts (2d and 3d)
 
* alt-section is for overlays
 
* alt-section is for overlays

Revision as of 01:25, 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>


Notes

  • section.explode only applies to pie charts (2d and 3d)
  • alt-section is for overlays
  • The number field for section and alt-section are integers starting with 0
  • include0 = false allows the base of the chart to be a high number. This is useful when all values are of a similarly high value.


Chart XML Examples

Report XML Tags

On the Report and Meter Portlet - there is a field to enter XML. The format of the XML is as follows:

columnformatlist column [Attributes:

  • name=‚Äùcolumnname|number|*‚Äù]

lever [Attributes:

  • name=‚Äùcolumnname|default‚Äù
  • value=‚Äùlever value‚Äù]

threshold [Attributes:

  • field=‚Äùcolumnname|number‚Äù
  • value=‚Äùvalue‚Äù
  • type=‚Äùstring|date|number‚Äù]
  • format (ex: $ ###.00)
  • link (ex: http://www.marvelit.com/)
  • style (css style name)
  • imageurl [Attributes: alt=‚Äùalternate‚Äù]

Report XML Examples