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

 < previousnext > 

 

axis_ticks

 

<axis_ticks value_ticks='boolean' 
            category_ticks='boolean' 
            position='string' 
            major_thickness='int' 
            major_color='string' 
            minor_thickness='int' 
            minor_color='string'
            minor_count='int'
            />
            


Description

axis_ticks sets the tick marks on the chart axes.

  • value_ticks: A boolean that indicates whether the ticks on the value axis are visible or not. The default is false.

  • category_ticks: A boolean that indicates whether the ticks on the category axis are visible or not. The default is true.

  • position: A string that determines where on the axis to display the ticks. Valid values are outside, inside, and centered. The default is outside.

  • major_thickness: The thickness of major ticks. Major ticks are those that appear next to the axis labels. The default is 2 pixels.

  • major_color: The color of major ticks. This is a string holding triple hexadecimal values representing the red, green, and blue components of a color. The default is "000000" (black).

  • minor_thickness: The thickness of minor ticks. Minor ticks are those that appear between major ticks. The default is 1 pixel.

  • minor_color: The color of minor ticks. This is a string holding triple hexadecimal values representing the red, green, and blue components of a color. The default is "000000" (black).

  • minor_count: This applies to the value axis only. It sets the number of minor ticks between every 2 major ticks. The default is 4. The category axis displays minor ticks only in place of its skipped labels.

 

 

Example


<chart>

   <!-- show centered ticks -->
   <!-- show 3 minor ticks between every 2 major ticks -->
   <!-- make minor ticks red -->
   <axis_ticks value_ticks='true' 
               category_ticks='true' 
               position='centered' 
               major_thickness='2' 
               major_color='000000' 
               minor_thickness='1' 
               minor_color='ff0000' 
               minor_count='3' 
               />

</chart>

 

 < previousnext > 


Copyright © 2003-2017, maani.us