cornerRadius: Number

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

Default: 0
Options: 2,3,8 ..
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 toolTip:{
  cornerRadius: 4,
 },
 .
 .
});
chart.render();


Try Editing The Code

  Also See:    


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

2 Comments

    • Naveen Venugopal says:

      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.

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