upperBoxColor: String

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


Default: “white”
Example: “red”, “#DD7E86”

Notes
  • Works only in Box and Whisker Chart.


var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
  data: [{
   type: "boxAndWhisker",
   upperBoxColor: "#DD7E86"
 
  },
 ]
 .
 . 
});
chart.render();


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.