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 Editing The Code

Try Editing The Code


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