EJSC.Axis.size

See Also

 

Definition

 

integer size = 20

 

Description

 

Defines the height of horizontal axes or width of vertical axes (in pixels) of the tick area.  To fully enable staggered ticks on horizontal axes, set this property to a multiple of 20 (or axis tick height), i.e. two levels = 40, three levels = 60.

 

For additional control over the format of the labels, see the EJSC.Axis.label_class property.

 

Example

 

>> Make axis tick area twice as tall, enabling staggered ticks (default tick label height is 20 pixels)

 

var chart =  new EJSC.Chart(

            "chart",

            {

               axis_bottom: { size: 40 }

       }

);