opacity: Number

Sets opacity of crosshair.

Default: 1
Example: .1, .5, etc.
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 axisY:{
	crosshair: {
	     enabled: true,
	     opacity: .5,
	     .
	     .
	}
},
 .
 .
});
chart.render();


Try Editing The Code

  Also See:    


If you have any questions, please feel free to ask in our forums.Ask Question