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 it Yourself by Editing the Code below.

Try it Yourself by Editing the Code below.



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