Skip to content

chartjs-chart-boxplot v4.3.1 / IViolinChartOptions

Interface: IViolinChartOptions

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

IViolinOptions.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

IViolinOptions.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

IViolinOptions.minStats

Source

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


points

points: number

number of points that should be samples of the KDE

Default

ts
100

Inherited from

IViolinOptions.points

Source

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


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

IViolinOptions.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

IViolinOptions.whiskersMode

Source

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