Skip to content

chartjs-chart-boxplot / IViolinOptions

Interface: IViolinOptions

Defined in: work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:151

Extends

Extended by

Properties

coef?

optional coef: number

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

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

IBaseOptions.coef


maxStats?

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

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

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

Default

ts
'max'

Inherited from

IBaseOptions.maxStats


minStats?

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

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

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

Default

ts
'min'

Inherited from

IBaseOptions.minStats


points

points: number

Defined in: work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:156

number of points that should be samples of the KDE

Default

ts
100

quantiles?

optional quantiles: QuantileMethod

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

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

IBaseOptions.quantiles


whiskersMode?

optional whiskersMode: "exact" | "nearest"

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

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

IBaseOptions.whiskersMode