borderColor: String

Sets the border color around Tool Tip. When not set it takes the color of corresponding dataSeries or dataPoint.

Default: dataSeries color/ dataPoint color
Example: “red”, “#808080”..
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 toolTip:{
   borderColor: "green",
 },
 .
 . 
});
chart.render();


Try Editing The Code


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