EJSC.Chart.y_zero_plane

See Also: Using Colors

 

Definition

 

object y_zero_plane = {

       color: "rgb(0,0,0)",

       show: false,

       thickness: 1,

       coordinate: 0

}

 

Description

 

Defines the properties of the zero plane line to be drawn at Y=0 (or whatever the coordinate property is set to). It is used to specify if the line should be shown as well as its color and thickness. The coordinate property allows the base of EJSC.BarSeries and EJSC.AreaSeries to be changed.

 

Example

 

>> Display a 2 pixel thick dark green line on the y zero plane

 

x_zero_plane

 

var chart =  new EJSC.Chart(

              "chart",

              {y_zero_plane: {show: true, color:'rgb(7,89,5)', thickness:2}}

       );