Returns the specified property of crosshair.
Parameters:var chart = new CanvasJS.Chart("container",
{ 
 .
 .
   axisX: {
     crosshair: {
       enabled: true,
       color: "red"
     },
     .
   },
 .
 .
});
chart.render();
console.log(chart.axisX[0].crosshair.get("color"));
Please refer to crosshair element for the complete list of properties that can be accessed via get method.