EJSC.Axis.label_class

See Also

Top  Previous  Next

 

Definition

 

string label_class = ""

 

Description

 

Defines the CSS className to assign to the axis tick labels.  Used in conjunction with EJSC.Axis.stagger_ticks and EJSC.Axis.size, this property allows for greater control over the size and staggering of tick labels on the top and bottom axes.

 

For styling the caption, see EJSC.Axis.caption_class

 

Example

 

>> Style the axis tick labels grey, make them 24 pixels high to enable text wrapping and enable two levels of tick staggering.

 

<style> .AxisTickLabels { color: #999; height: 24px; } </style>

 

var chart = new EJSC.Chart( "chart", {

       axis_bottom: {

               label_class: "AxisTickLabels",

               size: 48

       }

} );