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