stemColor: String

Sets the Color of Stem in Box and Whisker / Error Chart. The value of stemColor 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 Charts.
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
  data: [{
   type: "error",
   stemColor: "#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