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 it Yourself by Editing the Code below.

  Also See:    



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