Sets the thickness of border around the axisY Title in pixels. To display border around title, set the titleBorderThickness to a number greater than zero.
Default: 0var chart = new CanvasJS.Chart("container", {
.
.
axisY:{
title: " Axis Y Title",
titleBorderColor:"black",
titleBorderThickness:2
},
.
.
});
chart.render();