XML/SWF Charts| CSS/XML Timeline Eons(New)| Timeline Eons| SlickBoard

 < previousnext > 

 

series

 

<series bar_gap='int'
        set_gap='int'
        transfer='boolean'
        /> 


Description

series determines the look of the series graphs of some chart types. Series are the red and green graphs here:

 

  • bar_gap: The gap between columns or bars in the same set. Valid values are from 0 to 100. Standard column and bar charts (not 3d) support negative bar_gap values, which makes the columns or bars overlap. The default is 0. This applies to column and bar charts only.

  • set_gap: The gap between sets of columns or bars. Valid values are from 0 to 100. The default is 20. This applies to column and bar charts only.

  • transfer: A boolean that transfers the series colors to categories. This is used if the chart has only one series (one row of data) and you want each category value to have different color. This doesn not apply to line, area, scatter, and mixed charts. The default value is false.

 

 

Example

<chart>

   <!-- increased gaps -->
   <series bar_gap='50' set_gap='50' /> 

</chart>

 


<chart>

   <!-- decreased bar gaps to overlap columns -->
   <series bar_gap='-50' set_gap='50' /> 

</chart>

 


<chart>

   <!-- transfer the series colors to categories -->
   <series transfer='true' />
   
   <!-- hide the legend -->
   <legend layout='hide' />

   <chart_data>
      <row>
         <null/>
         <string>2006</string>
         <string>2007</string>
         <string>2008</string>
         <string>2009</string>
      </row>
      <row>
         <string>Region A</string>
         <number>25</number>
         <number>50</number>
         <number>30</number>
         <number>63</number>
      </row>
   </chart_data>

</chart>

 

 < previousnext > 


Copyright © 2003-2017, maani.us