markerBorderThickness: Number

Sets the thickness of the Marker’s Border in pixels.


Default: 0
Example: 4, 7..

Notes
  • Set markerBorderColor to a different color than markerColor to see border appear around marker.
  • There is no border in Marker Type “cross”, hence markerBorderThickness doesn’t apply when markerType is “cross”


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
  data:[ {
   dataPoints: [
    {x: 10 , y: 50 ,   markerBorderThickness: 4 },

   ],

  },
 ]
 .
 .
});
chart.render();


Try it Yourself by Editing the Code below.



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