Skip to content

Interface: ViolinTraceBox ​

The box plot drawn inside the violin.

Properties ​

PropertyTypeDefault valueDescription
fillcolor?stringundefinedFill of the inner box. Default: the violin fillcolor.
line?ViolinTraceBoxLineundefinedOutline of the inner box.
visible?booleanundefinedDraw a box plot inside the violin. Default: true when any other box attribute is set.
width?number0.25Width of the inner box as a fraction of the violin width. Range: 0 – 1

Released under the MIT License.