EJSC.Chart.show_crosshairs

See Also

 

Definition

 

object show_crosshairs = {

       x: true,

       y: true

}

 

Description

 

Defines if crosshairs should be shown on the chart at the current mouse coordinates.  May be disabled for X and Y independantly. This is automatically disabled if allow_interactivity is set to false.

 

Example

 

>> Show crosshair based solely on the X axis mouse position.

 

var chart = new EJSC.Chart(

              "chart",

              {show_crosshairs: {x:true,y:false}}

       );