Skip to content

chartjs-chart-boxplot v4.3.1 / IBoxPlotChartOptions

Interface: IBoxPlotChartOptions

Extends

Properties

coef?

optional coef: number

from the R doc: this determines how far the plot ‘whiskers’ extend out from the box. If coef is positive, the whiskers extend to the most extreme data point which is no more than coef times the length of the box away from the box. A value of zero causes the whiskers to extend to the data extremes

Default

ts
1.5

Inherited from

IBoxplotOptions.coef

Source

work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:123


maxStats?

optional maxStats: "max" | "q3" | "whiskerMax"

statistic measure that should be used for computing the maximal data limit

Default

ts
'max'

Inherited from

IBoxplotOptions.maxStats

Source

work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:114


minStats?

optional minStats: "min" | "q1" | "whiskerMin"

statistic measure that should be used for computing the minimal data limit

Default

ts
'min'

Inherited from

IBoxplotOptions.minStats

Source

work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:108


quantiles?

optional quantiles: QuantileMethod

the method to compute the quantiles.

7, 'quantiles': the type-7 method as used by R 'quantiles' method. 'hinges' and 'fivenum': the method used by R 'boxplot.stats' method. 'linear': the interpolation method 'linear' as used by 'numpy.percentile' function 'lower': the interpolation method 'lower' as used by 'numpy.percentile' function 'higher': the interpolation method 'higher' as used by 'numpy.percentile' function 'nearest': the interpolation method 'nearest' as used by 'numpy.percentile' function 'midpoint': the interpolation method 'midpoint' as used by 'numpy.percentile' function

Default

ts
7

Inherited from

IBoxplotOptions.quantiles

Source

work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:137


whiskersMode?

optional whiskersMode: "exact" | "nearest"

the method to compute the whiskers.

'nearest': with this mode computed whisker values will be replaced with nearest real data points 'exact': with this mode exact computed whisker values will be displayed on chart

Default

ts
'nearest'

Inherited from

IBoxplotOptions.whiskersMode

Source

work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:146