markerColor: String

Sets the color of marker that is displayed on the Chart. Legend Marker for the series uses the same Color as set here unless overridden using legendMarkerColor property.

Default: dataSeries Color
Example: “red”, “#008000” ..

  • If color is not set, dataSeries “color” is taken as “markerColor”.
  • You can also set this property at dataPoint level- and hightlight a dataPoint from rest.

var  chart =  new  CanvasJS.Chart("container",
 data: [{
   markerColor: "#008000",

Try it Yourself by Editing the Code below.

In order to provide better support, we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.