Box and Whisker - Median line color

Is there a way to provide a unique color for the median line displayed in the box and whisker charts?

Unfortunately, the box trace attribute don’t support custom color for median line (or any other line segment) at the moment.

That said, you get the desired results by adding a layout shape onto of the box trace at exactly the position of the median line.

Here’s an example:

1 Like

Hi @etienne

Could you please let me know the way to update median value in mulitple box and whisker? I tried using the same logic in a loop, looks like all the medians are drawn above one another. I’m not sure which attribute to read to update the x,y position of the median line for the multiple box and whisker.

Here’s how:

1 Like