Interface: ViolinCalc
Experimental
Violin calcdata: box calcdata plus the density of each violin.
Extends
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
bandwidth | readonly | Float64Array | Experimental KDE bandwidth per violin (calc space). | - |
count | readonly | number | Experimental Number of boxes. | BoxCalc.count |
density | readonly | object | Experimental Violin b owns grid points [density.start[b], density.start[b + 1]). | - |
density.start | readonly | Int32Array | - | - |
density.t | readonly | Float64Array | Grid positions (calc space of the value axis). | - |
density.v | readonly | Float64Array | Density. | - |
kind | readonly | BoxKind | Experimental | BoxCalc.kind |
maxCount | readonly | number | Experimental | - |
maxKDE | readonly | number | Experimental Largest density and largest sample count over the trace's violins. | - |
mode | readonly | PointsMode | Experimental | BoxCalc.mode |
offsets | public | OffsetOutput | Experimental Layout on the position axis (rewritten by cross-trace calc). | BoxCalc.offsets |
orientation | readonly | "v" | "h" | Experimental | BoxCalc.orientation |
pointPos | public | Float64Array | Experimental Position (linear) of each sample's point, NaN when it is not drawn. | BoxCalc.pointPos |
pos | readonly | Float64Array | Experimental Box positions (position-axis linear coordinates). | BoxCalc.pos |
posType | readonly | AxisType | undefined | Experimental | BoxCalc.posType |
precomputed | readonly | boolean | Experimental Precomputed statistics (not samples). | BoxCalc.precomputed |
samples | readonly | BoxSamples | Experimental | BoxCalc.samples |
scale | public | Float64Array | Experimental Density → position-axis units, per violin: a density v is drawn v / scale[b] from the center (Plotly's scale; set by the layout). | - |
span0 | readonly | Float64Array | Experimental Density span per violin (calc space). | - |
span1 | readonly | Float64Array | Experimental | - |
stats | readonly | BoxStatArrays | Experimental | BoxCalc.stats |
valType | readonly | AxisType | undefined | Experimental | BoxCalc.valType |
valueRange | readonly | readonly [number, number] | Experimental Value-axis extent for autorange (calc space), [Infinity, -Infinity] when empty. | BoxCalc.valueRange |