PopChart XML

For the Standard data class, PopChart XML Data elements require the Value attribute, which specifies the value of the data item.

Example 12.3 illustrates how a data set for a graph in the Standard data class would look in PopChart XML. this example assumes that the graph is named graph. Note that the data set is the same one used in Example 12.2.

Example 12.3 Standard Data Set in PopChart XML

   <GraphData Name='graph'> 

      <Categories> 

         <Category Name='Highland Mall'/> 

         <Category Name='Lakeline Mall'/> 

         <Category Name='Barton Creek Square'/> 

      </Categories> 

      <Series Name='1999'> 

         <Data Value='27,543,000'/> 

         <Data Value='34,654,000'/> 

         <Data Value='17,654,000'/> 

      </Series> 

      <Series Name='2000'> 

         <Data Value='23,987,000'/> 

         <Data Value='37,914,000'/> 

         <Data Value='29,372,000'/> 

      </Series> 

      <Series Name='2001'> 

         <Data Value='21,581,000'/> 

         <Data Value='34,217,000'/> 

         <Data Value='32,138,000'/> 

      </Series> 

</GraphData>

For an explanation of the PopChart XML data format, refer to "Sending Data with PopChart XML" in Chapter 6 of the PopChart Server User Guide.