EJSC.Axis.color

See Also: Using Colors

Top  Previous  Next

 

Definition

 

string color = "#FFF"

 

Description

 

Defines the default color of the axis border and tick marks.   If the sub properties such as minor_ticks.color, major_ticks.color, border.color are left undefined, they inherit the value set here.

 

Example

 

>> Color the axis border and tick marks red

 

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

       axis_bottom: { color: "#F00" }

} );