Skip to content

Documentation / @ripl/charts / BoxPlotChartOptions

Interface: BoxPlotChartOptions<TData>

Defined in: charts/src/charts/box-plot.ts:74

Options for configuring a BoxPlotChart.

Extends

Type Parameters

Type ParameterDefault type
TDataunknown

Properties

PropertyTypeDescriptionOverridesInherited fromDefined in
animation?boolean | Partial<ChartAnimationOptions>Animation configuration, or a boolean toggling all transitions. See ChartAnimationOptions.-CartesianChartOptions.animationcharts/src/core/chart.ts:89
autoRender?booleanWhether the chart renders automatically on construction and after every Chart.update. Defaults to true.-CartesianChartOptions.autoRendercharts/src/core/chart.ts:83
axis?ChartAxisInput<TData>Axis configuration for the category and value axes.CartesianChartOptions.axis-charts/src/charts/box-plot.ts:90
categories?string[]Explicit category order (defaults to first-seen order in the data).--charts/src/charts/box-plot.ts:82
color?stringColour used for every box; falls back to the first palette colour when omitted.--charts/src/charts/box-plot.ts:84
crosshair?ChartCrosshairInputCrosshair configuration, or a boolean toggle. See ChartCrosshairInput.-CartesianChartOptions.crosshaircharts/src/core/cartesian.ts:129
dataTData[]The dataset summarised by the chart.--charts/src/charts/box-plot.ts:76
format?ValueFormatInputFormat applied to summary values shown in tooltips.--charts/src/charts/box-plot.ts:92
grid?ChartGridInputBackground grid configuration (true/false or detailed grid options).CartesianChartOptions.grid-charts/src/charts/box-plot.ts:86
groupkeyof TData | ((item) => string)Accessor for the category each value belongs to.--charts/src/charts/box-plot.ts:78
legend?ChartLegendInputLegend configuration, a position string, or a boolean toggle. See ChartLegendInput.-CartesianChartOptions.legendcharts/src/core/cartesian.ts:127
navigator?boolean | NavigatorInteractionsEnables pan/zoom (and optionally brush) navigation on the plot. true turns on wheel-zoom and click-drag pan; an object configures each interaction individually. The chart auto-creates a DOMNavigator on its context and rescales the axis domains as the view changes — no data rebuild. Access the underlying controller via chart.navigator for imperative framing (centerOn/fitBounds) or brush-and-link.-CartesianChartOptions.navigatorcharts/src/core/cartesian.ts:137
padding?Partial<ChartPadding>Space reserved around the chart, per edge, in pixels.-CartesianChartOptions.paddingcharts/src/core/chart.ts:85
title?string | Partial<ChartTitleOptions>Chart title as plain text, or a ChartTitleOptions object for full control.-CartesianChartOptions.titlecharts/src/core/chart.ts:87
tooltip?ChartTooltipInputHover tooltip configuration (true/false or detailed tooltip options).CartesianChartOptions.tooltip-charts/src/charts/box-plot.ts:88
valueNumericAccessor<TData>Accessor for the numeric value to summarise.--charts/src/charts/box-plot.ts:80