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

 < previousnext > 

 

axis_category_label

 

<axis_category_label>
     <string>...</string>
   [ <string>...</string> ]
</axis_category_label>


Description

axis_category_label is an array that overrides the numeric, default axis_category labels in scatter and bubble charts. The axis_category labels are the red labels here:

 

The first value in axis_category_label overrides the first axis label, the second value in axis_category_label overrides the second axis label, and so on.

  • To override a value label, place the new text in the corresponding position.
  • To keep the original value label, place a null in the corresponding position.
  • To hide a value label, place an empty string in the corresponding position.
  • To add a multi-line label, break the lines with \r. Example: "Show this in\rtwo lines".
  • If the axis_category_label holds less values than the number of the axis labels, then the unrepresented labels remain unchanged.

 

 

Example


<chart>

   <chart_type>scatter</chart_type>

   <!-- override the first label -->
   <!-- keep the default second label by using a null -->
   <!-- override the third label with a multi-line text -->   
   <!-- hide the fourth label with an empty string-->
   <!-- keep the default fifth label by not representing it -->
   <axis_category_label>
      <string>label 1</string>
      <null/>
      <string>third\rlabel</string>
      <string></string>
   </axis_category_label>

</chart>
            

 

 < previousnext > 


Copyright © 2003-2017, maani.us