Box

class Box : Trace, SelectedPoints

Types

Companion
Link copied to clipboard
common
object Companion : SchemeSpec<Box>

Functions

axis
Link copied to clipboard
common
fun axis(axisName: String): TraceValues
colorbar
Link copied to clipboard
common
fun colorbar(block: ColorBar.() -> Unit)
domain
Link copied to clipboard
common
fun domain(block: Domain.() -> Unit)
error_x
Link copied to clipboard
common
fun error_x(block: Error.() -> Unit)
error_y
Link copied to clipboard
common
fun error_y(block: Error.() -> Unit)
getItem
Link copied to clipboard
common
open override fun getItem(name: Name): MetaItem?
hoverlabel
Link copied to clipboard
common
fun hoverlabel(block: Hoverlabel.() -> Unit)
labels
Link copied to clipboard
common
fun labels(array: Iterable<Any>)
line
Link copied to clipboard
common
fun line(block: LayoutLine.() -> Unit)
lowerfence
Link copied to clipboard
common
fun lowerfence(array: Iterable<Any>)
marker
Link copied to clipboard
common
fun marker(block: Marker.() -> Unit)
mean
Link copied to clipboard
common
fun mean(array: Iterable<Any>)
median
Link copied to clipboard
common
fun median(array: Iterable<Any>)
notchspan
Link copied to clipboard
common
fun notchspan(array: Iterable<Any>)
onChange
Link copied to clipboard
common
open override fun onChange(owner: Any?, action: (Name, MetaItem?, MetaItem?) -> Unit)
q1
Link copied to clipboard
common
fun q1(array: Iterable<Any>)
q3
Link copied to clipboard
common
fun q3(array: Iterable<Any>)
removeListener
Link copied to clipboard
common
open override fun removeListener(owner: Any?)
sd
Link copied to clipboard
common
fun sd(array: Iterable<Any>)
selected
Link copied to clipboard
common
fun selected(block: SelectPoints.() -> Unit)
setItem
Link copied to clipboard
common
open override fun setItem(name: Name, item: MetaItem?)
textfont
Link copied to clipboard
common
fun textfont(block: Font.() -> Unit)
toMeta
Link copied to clipboard
common
open override fun toMeta(): Laminate
unselected
Link copied to clipboard
common
fun unselected(block: SelectPoints.() -> Unit)
upperfence
Link copied to clipboard
common
fun upperfence(array: Iterable<Any>)
validateItem
Link copied to clipboard
common
open fun validateItem(name: Name, item: MetaItem?): Boolean
values
Link copied to clipboard
common
fun values(array: Iterable<Any>)

Properties

axis
Link copied to clipboard
common
val axis: ReadOnlyProperty<Scheme, TraceValues>
boxmean
Link copied to clipboard
common
var boxmean: BoxMean
If "true", the mean of the box(es)' underlying distribution is drawn as a dashed line inside the box(es).
boxpoints
Link copied to clipboard
common
var boxpoints: BoxPoints
If "outliers", only the sample points lying outside the whiskers are shown If "suspectedoutliers", the outlier points are shown and points either less than 4"Q1-3"Q3 or greater than 4"Q3-3"Q1 are highlighted (see outliercolor) If "all", all sample points are shown If "false", only the box(es) are shown with no sample points Defaults to "suspectedoutliers" when marker.outliercolor or marker.line.outliercolor is set.
cliponaxis
Link copied to clipboard
common
var cliponaxis: Boolean?
Determines whether or not markers and text nodes are clipped about the subplot axes.
colorbar
Link copied to clipboard
common
var colorbar: ColorBar
colorscale
Link copied to clipboard
common
var colorscale: Value?
Sets the colorscale.
connectgaps
Link copied to clipboard
common
var connectgaps: Boolean?
Determines whether or not gaps (i.e.
defaultLayer
Link copied to clipboard
common
open val defaultLayer: Meta
descriptor
Link copied to clipboard
common
override var descriptor: NodeDescriptor?
domain
Link copied to clipboard
common
var domain: Domain
dx
Link copied to clipboard
common
var dx: Number
Sets the x coordinate step.
dy
Link copied to clipboard
common
var dy: Number
Sets the y coordinate step.
error_x
Link copied to clipboard
common
var error_x: Error
error_y
Link copied to clipboard
common
var error_y: Error
fillcolor
Link copied to clipboard
common
val fillcolor: Color
Sets the fill color if contours.type is "constraint".
hoverinfo
Link copied to clipboard
common
var hoverinfo: String?
Flaglist string.
hoverlabel
Link copied to clipboard
common
var hoverlabel: Hoverlabel
hoveron
Link copied to clipboard
common
var hoveron: BoxHoveron
Do the hover effects highlight individual boxes or sample points or both?
jitter
Link copied to clipboard
common
var jitter: Double
Sets the amount of jitter in the sample points drawn.
labels
Link copied to clipboard
common
var labels: List<Value>
Data array.
legendgroup
Link copied to clipboard
common
var legendgroup: String?
Sets the legend group for this trace.
line
Link copied to clipboard
common
var line: LayoutLine
lowerfence
Link copied to clipboard
common
var lowerfence: List<Value>
Sets the lower fence values.
marker
Link copied to clipboard
common
var marker: Marker
mean
Link copied to clipboard
common
var mean: List<Value>
Sets the mean values.
median
Link copied to clipboard
common
var median: List<Value>
Sets the median values.
name
Link copied to clipboard
common
var name: String?
Sets the trace name.
notched
Link copied to clipboard
common
var notched: Boolean?
Determines whether or not notches are drawn.
notchspan
Link copied to clipboard
common
var notchspan: List<Value>
Sets the notch span from the boxes' median values.
notchwidth
Link copied to clipboard
common
var notchwidth: Double
Sets the width of the notches relative to the box' width.
opacity
Link copied to clipboard
common
var opacity: Number
Sets the opacity of the trace.
orientation
Link copied to clipboard
common
var orientation: Orientation
Sets the orientation of the plot(s).
pointpos
Link copied to clipboard
common
var pointpos: Double
Sets the position of the sample points in relation to the violins.
q1
Link copied to clipboard
common
var q1: List<Value>
Sets the Quartile 1 values.
q3
Link copied to clipboard
common
var q3: List<Value>
Sets the Quartile 3 values.
quartilemethod
Link copied to clipboard
common
var quartilemethod: QuartileMethod
Sets the method used to compute the sample's Q1 and Q3 quartiles.
reversescale
Link copied to clipboard
common
var reversescale: Boolean?
Reverses the color mapping if true.
scalegroup
Link copied to clipboard
common
var scalegroup: String?
If there are multiple violins that should be sized according to some metric (see scalemode), link them by providing a non-empty group id here shared by every trace in the same group.
sd
Link copied to clipboard
common
var sd: List<Value>
Sets the standard deviation values.
selected
Link copied to clipboard
common
open override var selected: SelectPoints
selectedpoints
Link copied to clipboard
common
open override var selectedpoints: List<Number>
Array containing integer indices of selected points.
showlegend
Link copied to clipboard
common
var showlegend: Boolean?
Determines whether or not an item corresponding to this trace is shown in the legend.
showscale
Link copied to clipboard
common
var showscale: Boolean?
Determines whether or not a colorbar is displayed for this trace.
text
Link copied to clipboard
common
var text: TraceValues
Sets text elements associated with each (x,y) pair.
textfont
Link copied to clipboard
common
var textfont: Font
Sets the text font.
textposition
Link copied to clipboard
common
var textposition: TextPosition
Sets the position of the text elements with respects to the (x,y) coordinates.
textpositionsList
Link copied to clipboard
common
var textpositionsList: List<Value>
Sets the positions of the text elements with respects to the (x,y) coordinates.
transpose
Link copied to clipboard
common
var transpose: Boolean?
Transposes the z data.
type
Link copied to clipboard
common
var type: TraceType
unselected
Link copied to clipboard
common
open override var unselected: SelectPoints
upperfence
Link copied to clipboard
common
var upperfence: List<Value>
Sets the upper fence values.
values
Link copied to clipboard
common
var values: List<Value>
Data array.
visible
Link copied to clipboard
common
var visible: Visible
Enumerated , one of ( true | false | "legendonly" ) Determines whether or not this trace is visible.
whiskerwidth
Link copied to clipboard
common
var whiskerwidth: Double
Sets the width of the whiskers relative to the box' width.
width
Link copied to clipboard
common
var width: Number
Sets the width of the box in data coordinate If "0" (default value) the width is automatically selected based on the positions of other box traces in the same subplot.
x
Link copied to clipboard
common
val x: TraceValues
Sets the x coordinates.
x0
Link copied to clipboard
common
var x0: Value?
Alternate to x.
xcalendar
Link copied to clipboard
common
var xcalendar: Calendar
Sets the calendar system to use with x date data.
y
Link copied to clipboard
common
val y: TraceValues
Sets the y coordinates.
y0
Link copied to clipboard
common
var y0: Value?
Alternate to y.
ycalendar
Link copied to clipboard
common
var ycalendar: Calendar
Sets the calendar system to use with y date data.
z
Link copied to clipboard
common
var z: TraceValues
Z coordinates
zauto
Link copied to clipboard
common
var zauto: Boolean?
Determines whether or not the color domain is computed with respect to the input data (here in z) or the bounds set in zmin and zmax Defaults to false when zmin and zmax are set by the user.
zmax
Link copied to clipboard
common
var zmax: Number?
Sets the upper bound of the color domain.
zmid
Link copied to clipboard
common
var zmid: Number?
Sets the mid-point of the color domain by scaling zmin and/or zmax to be equidistant to this point.
zmin
Link copied to clipboard
common
var zmin: Number?
Sets the lower bound of the color domain.