Portlet Factory, Version 6.1.2


 

XML Source Data Formats

This topic describes the data formats in which WebCharts version 5 can accept chart source data.

Data Format

This format is the basic format used by the chart engine.
<XML>
 <COL>2000</COL>
 <COL>2001</COL>
 <COL>2002</COL>
 <COL>2003</COL>
 <COL>2004</COL>
 <COL>2005</COL>
 <ROW col0="100.0" col1="350.0" col2="100.0"  col3="180.0" col4="200.0" col5="400.0">Juice</ROW>
 <ROW col0="150.0" col1="200.0" col2="250.0"  col3="230.0" col4="250.0" col5="350.0">Soda</ROW>
</XML>

XML Transformed Data Format

This format is similar to what might be returned from a database.
  <RowSet>
     <Row>
        <EMPNO>000020</EMPNO>
        <COMM>3300.00</COMM>
        <SALARY>41250.00</SALARY>
     </Row>
     <Row>
        <EMPNO>000030</EMPNO>
        <COMM>3060.00</COMM>
        <SALARY>38250.00</SALARY>
     </Row>
     <Row>
        <EMPNO>000050</EMPNO>
        <COMM>3214.00</COMM>
        <SALARY>40175.00</SALARY>
     </Row>
</RowSet>

Parent topic: GreenPoint WebCharts builder


Library | Support |