titleBorderThickness: Number

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
Example: 2,4,…
Notes
  1. var chart = new CanvasJS.Chart("container", {
  2. .
  3. .
  4. axisX:{
  5. title: " Axis X Title",
  6. titleBorderColor:"black",
  7. titleBorderThickness:2
  8. },
  9. .
  10. .
  11. });
  12. chart.render();

Try Editing The Code

  Also See:    


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