Sets the border color around the legend marker. Value of legendMarkerBorderColor can be “color names” or “hex code”.
Default: dataSeries color.var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
   legendMarkerBorderColor: "#008000",
  },
 ]
 .
 .
});
chart.render();
Also See: