Sets the thickness of the Legend’s Marker Border in pixels. This property works only with Pie and Doughnut charts. If not set, takes the value from dataSeries’ legendMarkerBorderThickness if present.
Default: 0var chart = new CanvasJS.Chart("container", { . . data:[ { dataPoints: [ { x: 10, y: 50, legendMarkerBorderThickness: 4 }, ], }, ] . . }); chart.render();