Sets the thickness of the legend’s Marker Border in pixels.
var chart = new CanvasJS.Chart("container", { . . data: [{ legendMarkerBorderThickness: 2, }, ] . . }); chart.render();
Also See: