cornerRadius: Number

To display rounded borders around the title, set the cornerRadius of title. Higher the value, more rounded are the corners.


Default: 0
Options: 5,8 ..

Notes
  • Corner Radius works when border thickness is set to value greater than zero or background color is applied.


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 title:{
  cornerRadius: 4,
 },
 .
 .
});
chart.render();



Try it Yourself by Editing the Code below.

  Also See:    



In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.