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”var chart = new CanvasJS.Chart("container",
{
.
.
data: [{
type: "boxAndWhisker",
upperBoxColor: "#DD7E86"
},
]
.
.
});
chart.render();