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