cornerRadius: Number

Setting a value higher than 0 makes the corners of toolTip rounded. Higher the value, more rounded the corners are.


Default: 5
Options: 2,3,8 ..

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 toolTip:{
  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.

Comments 2

    • Since Tooltip is a DOM Element, you can set its style via css as shown here in order to make it circular. But, there is no API to control its position yet.

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.