lowerBoxColor: String

lowerBoxColor allows you to set the color of lower box that appears between lower quartile (Q1) and the mean / median (Q2). The value of lowerBoxColor can be a “HTML Color Name” or “Hex Code”.

Default: “white”
Example: “green”, “#DD7E86”
Note
  • Works only in Box and Whisker chart.
var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
  data: [{
   type: "boxAndWhisker",
   lowerBoxColor: "blue"
 
  },
 ]
 .
 . 
});
chart.render();

Try Editing The Code


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