chartjs-chart-boxplot v4.4.4 / BoxPlotControllerDatasetOptions
Interface: BoxPlotControllerDatasetOptions
Extends
ControllerDatasetOptions
.Pick
<BarControllerDatasetOptions
,"barPercentage"
|"barThickness"
|"categoryPercentage"
|"maxBarThickness"
|"minBarLength"
>.IBoxplotOptions
.ScriptableAndArrayOptions
<IBoxAndWhiskersOptions
,ScriptableContext
<"boxplot"
>>.ScriptableAndArrayOptions
<CommonHoverOptions
,ScriptableContext
<"boxplot"
>>.AnimationOptions
<"boxplot"
>
Properties
backgroundColor
backgroundColor:
ScriptableAndArray
<string
,ScriptableContext
<"boxplot"
>>
Default
see rectangle
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.backgroundColor
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:12
borderColor
borderColor:
ScriptableAndArray
<string
,ScriptableContext
<"boxplot"
>>
Default
see rectangle
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.borderColor
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:19
borderWidth
borderWidth:
ScriptableAndArray
<number
,ScriptableContext
<"boxplot"
>>
Default
1
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.borderWidth
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:26
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
1.5
Inherited from
IBoxplotOptions.coef
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:123
hitPadding
hitPadding:
ScriptableAndArray
<number
,ScriptableContext
<"boxplot"
>>
padding that is added around the bounding box when computing a mouse hit
Default
2
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.hitPadding
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:133
itemBackgroundColor
itemBackgroundColor:
ScriptableAndArray
<string
,ScriptableContext
<"boxplot"
>>
background color for items
Default
see rectangle.backgroundColor
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.itemBackgroundColor
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:102
itemBorderColor
itemBorderColor:
ScriptableAndArray
<string
,ScriptableContext
<"boxplot"
>>
border color for items
Default
see rectangle.borderColor
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.itemBorderColor
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:110
itemBorderWidth
itemBorderWidth:
ScriptableAndArray
<number
,ScriptableContext
<"boxplot"
>>
border width for items
Default
0
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.itemBorderWidth
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:118
itemHitRadius
itemHitRadius:
ScriptableAndArray
<number
,ScriptableContext
<"boxplot"
>>
hit radius for hit test of items
Default
0
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.itemHitRadius
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:125
itemRadius
itemRadius:
ScriptableAndArray
<number
,ScriptableContext
<"boxplot"
>>
radius used to render items
Default
0 so disabled
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.itemRadius
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:94
itemStyle
itemStyle:
ScriptableAndArray
<"triangle"
|"circle"
|"line"
|"rect"
|"cross"
|"crossRot"
|"dash"
|"rectRounded"
|"rectRot"
|"star"
,ScriptableContext
<"boxplot"
>>
item style used to render items
Default
circle
Inherited from
ScriptableAndArrayOptions.itemStyle
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:76
lowerBackgroundColor
lowerBackgroundColor:
ScriptableAndArray
<string
,ScriptableContext
<"boxplot"
>>
color the lower half (median-q3) of the box in a different color
Default
'transparent' takes the current borderColor
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.lowerBackgroundColor
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/BoxAndWiskers.ts:30
maxStats?
optional
maxStats:"max"
|"q3"
|"whiskerMax"
statistic measure that should be used for computing the maximal data limit
Default
'max'
Inherited from
IBoxplotOptions.maxStats
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:114
meanBackgroundColor
meanBackgroundColor:
ScriptableAndArray
<string
,ScriptableContext
<"boxplot"
>>
background color for mean dot
Default
see rectangle.backgroundColor
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.meanBackgroundColor
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:173
meanBorderColor
meanBorderColor:
ScriptableAndArray
<string
,ScriptableContext
<"boxplot"
>>
border color for mean dot
Default
see rectangle.borderColor
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.meanBorderColor
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:181
meanBorderWidth
meanBorderWidth:
ScriptableAndArray
<number
,ScriptableContext
<"boxplot"
>>
border width for mean dot
Default
0
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.meanBorderWidth
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:189
meanRadius
meanRadius:
ScriptableAndArray
<number
,ScriptableContext
<"boxplot"
>>
radius used to mean dots
Default
3
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.meanRadius
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:165
meanStyle
meanStyle:
ScriptableAndArray
<"triangle"
|"circle"
|"line"
|"rect"
|"cross"
|"crossRot"
|"dash"
|"rectRounded"
|"rectRot"
|"star"
,ScriptableContext
<"boxplot"
>>
item style used to render mean dot
Default
circle
Inherited from
ScriptableAndArrayOptions.meanStyle
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:147
medianColor
medianColor:
ScriptableAndArray
<string
,ScriptableContext
<"boxplot"
>>
separate color for the median line
Default
'transparent' takes the current borderColor
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.medianColor
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/BoxAndWiskers.ts:22
minStats?
optional
minStats:"min"
|"q1"
|"whiskerMin"
statistic measure that should be used for computing the minimal data limit
Default
'min'
Inherited from
IBoxplotOptions.minStats
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:108
outlierBackgroundColor
outlierBackgroundColor:
ScriptableAndArray
<string
,ScriptableContext
<"boxplot"
>>
Default
see rectangle.backgroundColor
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.outlierBackgroundColor
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:57
outlierBorderColor
outlierBorderColor:
ScriptableAndArray
<string
,ScriptableContext
<"boxplot"
>>
Default
see rectangle.borderColor
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.outlierBorderColor
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:64
outlierBorderWidth
outlierBorderWidth:
ScriptableAndArray
<number
,ScriptableContext
<"boxplot"
>>
Default
1
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.outlierBorderWidth
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:70
outlierHitRadius
outlierHitRadius:
ScriptableAndArray
<number
,ScriptableContext
<"boxplot"
>>
hit radius for hit test of outliers
Default
4
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.outlierHitRadius
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:141
outlierRadius
outlierRadius:
ScriptableAndArray
<number
,ScriptableContext
<"boxplot"
>>
radius used to render outliers
Default
2
scriptable
indexable
Inherited from
ScriptableAndArrayOptions.outlierRadius
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:50
outlierStyle
outlierStyle:
ScriptableAndArray
<"triangle"
|"circle"
|"line"
|"rect"
|"cross"
|"crossRot"
|"dash"
|"rectRounded"
|"rectRot"
|"star"
,ScriptableContext
<"boxplot"
>>
item style used to render outliers
Default
circle
Inherited from
ScriptableAndArrayOptions.outlierStyle
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:32
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
7
Inherited from
IBoxplotOptions.quantiles
Defined in
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
'nearest'
Inherited from
IBoxplotOptions.whiskersMode
Defined in
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:146