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

 < previousnext > 

 

axis_value

 

<axis_value min='float'  
            max='float' 
            mode='string'  
            steps='int'  
            
            prefix='string' 
            suffix='string' 
            decimals='int'
            decimal_char='string'  
            separator='string' 
            show_min='boolean' 
            font='string' 
            bold='boolean' 
            size='int' 
            color='string' 
            background_color='string' 
            alpha='int'
            orientation='string' 
            
            shadow='string'
            bevel='string'
            glow='string'
            blur='string'
            /> 
            


Description

axis_value sets the label attributes for the value-axis.

The value-axis is the vertical axis with the red labels below (this axis appears horizontal in bar charts):

 

  • min: The minimum value to start the value-axis with. The default is zero in most charts.

  • max: The maximum value to end the value-axis with. The default is calculated from the chart's data.

  • mode: Determines the way the above min and max values are adjusted. Valid values are:

    • all: Min and max are adjusted to show all the chart values, including those outside of the visible scrolling area. This is the default value.

    • stretch: Min and max are repeatedly adjusted to show only the chart values within the visible scrolling area. This option is available to charts that can be scrolled (even when scrolling is not applied to them).

    • trim: Min and max are not adjusted, even if a chart value falls outside of this range and becomes partially or totally invisible. This option is available to charts that can be scrolled (even when scrolling is not applied to them), and to the scatter and bubble charts.

  • steps: The number of steps between the minimum and maximum values. If the minimum value is negative and the maximum value is positive, then steps is the number of steps between zero and the larger of max and absolute min. The default is 4.

  • prefix: The characters to add before the value numbers (example: $10). The default is nothing.

  • suffix: The characters to add after the value numbers (example: 10%). The default is nothing.

  • decimals: The number of decimal places to the right of the decimal point (example: 10.45). The default is zero (no decimals).

  • decimal_char: The character to use at the left of a decimal fraction (example: 1.5). The default is '.' (dot or full stop).

  • separator: The character to place between every group of thousands (example: 1,00,000). The default is nothing.

  • show_min: A boolean that indicates whether show or hide the first label in the value-axis. Hiding this first label might be necessary if it overlaps with the first label in the category axis. The default is true (show the first label).

  • font: The font used in the value-axis (see Fonts). The default is Arial.

  • bold: A boolean value that indicates whether the font is bold or not. The default is true.

  • size: The font's size. The default font size is calculated based on the chart size.

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

  • background_color: This applies to polar charts only. It determines the labels' background color to make them visible over the graphs. When omitted, axis_value labels have no background. This is a string holding triple hexadecimal values representing the red, green, and blue components of a color. The default is omitted (no background).

  • alpha: This affects the labels' transparency, only when the embedded font is used (see Fonts). Valid values are 0 (fully transparent) to 100 (fully opaque). The default is 90. To hide all labels in this axis, set the alpha to 0.

  • orientation: This affects the labels' orientation, only when the embedded font is used (see Fonts). Valid values are horizontal, diagonal_up, diagonal_down, vertical_up, and vertical_down. The default value is horizontal.

  • shadow: The ID of a shadow filter to apply to the value labels. This is omitted by default (no shadow).

  • bevel: The ID of a bevel filter to apply to the value labels. This is omitted by default (no bevel).

  • glow: The ID of a glow filter to apply to the value labels. This is omitted by default (no glow).

  • blur: The ID of a blur filter to apply to the value labels. This is omitted by default (no blur).

 


Two Value-Axes

In some cases, it might be necessary to display two value-axes to represent data using two different scales. See axis_value_label for more information.

 

 

Example


<chart>

   <axis_value min='10'  
            max='200' 
            steps='5'  
            prefix='$' 
            suffix='' 
            decimals='1'
            decimal_char='.'  
            separator='' 
            show_min='true' 
            font='arial' 
            bold='true' 
            size='12' 
            color='FF0000' 
            alpha='75'
            orientation='diagonal_up' 
            />

</chart>
            

 

 < previousnext > 


Copyright © 2003-2017, maani.us