whiskerColor: String

Sets the color of Whisker in Box and Whisker & Error Chart. The value of whiskerColor can be a “HTML Color Name” or “Hex Code”.


Default: Taken from dataSeries Color
Example: “red”, “#FAC003” ..

Notes
  • Works only in Error & Box and Whisker Chart.


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
  data: [{
   type: "error",
   whiskerColor: "#BB2286",
 
  },
 ]
 .
 . 
});
chart.render();


Try it Yourself by Editing the Code below.

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.