IChartBoxPlotRawDatum
interface
Chart
Raw-samples datum for OrigamChartBoxPlot — the component derives the five-number summary via Tukey's method (linear interpolation) and detects outliers at the 1.5·IQR fence automatically. Use IChartBoxPlotDatum when the aggregation has already been done.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- categoryrequiredstring
- Category label shown on the X axis.
- samplesrequiredArray<number>
- Array of individual observations. Must contain at least 4 values for meaningful quartile computation. Fewer values are handled gracefully: all map to the same min/q1/median/q3/max.
- colorTIntent | string
- Override colour for this datum. Intent token or raw CSS colour. When absent the category index cycles through colorScheme.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Passing raw sample arrays — let the component compute quartiles