chartjs-chart-boxplot v4.3.1 / ViolinControllerDatasetOptions
Interface: ViolinControllerDatasetOptions
Extends
ControllerDatasetOptions
.IViolinOptions
.ScriptableAndArrayOptions
<IViolinElementOptions
,ScriptableContext
<"violin"
>>.ScriptableAndArrayOptions
<CommonHoverOptions
,ScriptableContext
<"violin"
>>.AnimationOptions
<"violin"
>
Properties
backgroundColor
backgroundColor:
ScriptableAndArray
<string
,ScriptableContext
<"violin"
>>
Default
see rectangle
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.backgroundColor
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:12
borderColor
borderColor:
ScriptableAndArray
<string
,ScriptableContext
<"violin"
>>
Default
see rectangle
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.borderColor
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:19
borderWidth
borderWidth:
ScriptableAndArray
<number
,ScriptableContext
<"violin"
>>
Default
1
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.borderWidth
Source
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
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:123
hitPadding
hitPadding:
ScriptableAndArray
<number
,ScriptableContext
<"violin"
>>
padding that is added around the bounding box when computing a mouse hit
Default
2
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.hitPadding
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:126
itemBackgroundColor
itemBackgroundColor:
ScriptableAndArray
<string
,ScriptableContext
<"violin"
>>
background color for items
Default
see rectangle.backgroundColor
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.itemBackgroundColor
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:102
itemBorderColor
itemBorderColor:
ScriptableAndArray
<string
,ScriptableContext
<"violin"
>>
border color for items
Default
see rectangle.borderColor
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.itemBorderColor
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:110
itemBorderWidth
itemBorderWidth:
ScriptableAndArray
<number
,ScriptableContext
<"violin"
>>
border width for items
Default
0
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.itemBorderWidth
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:118
itemRadius
itemRadius:
ScriptableAndArray
<number
,ScriptableContext
<"violin"
>>
radius used to render items
Default
0 so disabled
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.itemRadius
Source
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
<"violin"
>>
item style used to render items
Default
circle
Inherited from
ScriptableAndArrayOptions.itemStyle
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:76
maxStats?
optional
maxStats:"max"
|"q3"
|"whiskerMax"
statistic measure that should be used for computing the maximal data limit
Default
'max'
Inherited from
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:114
meanBackgroundColor
meanBackgroundColor:
ScriptableAndArray
<string
,ScriptableContext
<"violin"
>>
background color for mean dot
Default
see rectangle.backgroundColor
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.meanBackgroundColor
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:166
meanBorderColor
meanBorderColor:
ScriptableAndArray
<string
,ScriptableContext
<"violin"
>>
border color for mean dot
Default
see rectangle.borderColor
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.meanBorderColor
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:174
meanBorderWidth
meanBorderWidth:
ScriptableAndArray
<number
,ScriptableContext
<"violin"
>>
border width for mean dot
Default
0
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.meanBorderWidth
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:182
meanRadius
meanRadius:
ScriptableAndArray
<number
,ScriptableContext
<"violin"
>>
radius used to mean dots
Default
3
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.meanRadius
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:158
meanStyle
meanStyle:
ScriptableAndArray
<"triangle"
|"circle"
|"line"
|"rect"
|"cross"
|"crossRot"
|"dash"
|"rectRounded"
|"rectRot"
|"star"
,ScriptableContext
<"violin"
>>
item style used to render mean dot
Default
circle
Inherited from
ScriptableAndArrayOptions.meanStyle
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:140
minStats?
optional
minStats:"min"
|"q1"
|"whiskerMin"
statistic measure that should be used for computing the minimal data limit
Default
'min'
Inherited from
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:108
outlierBackgroundColor
outlierBackgroundColor:
ScriptableAndArray
<string
,ScriptableContext
<"violin"
>>
Default
see rectangle.backgroundColor
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.outlierBackgroundColor
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:57
outlierBorderColor
outlierBorderColor:
ScriptableAndArray
<string
,ScriptableContext
<"violin"
>>
Default
see rectangle.borderColor
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.outlierBorderColor
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:64
outlierBorderWidth
outlierBorderWidth:
ScriptableAndArray
<number
,ScriptableContext
<"violin"
>>
Default
1
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.outlierBorderWidth
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:70
outlierHitRadius
outlierHitRadius:
ScriptableAndArray
<number
,ScriptableContext
<"violin"
>>
hit radius for hit test of outliers
Default
4
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.outlierHitRadius
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:134
outlierRadius
outlierRadius:
ScriptableAndArray
<number
,ScriptableContext
<"violin"
>>
radius used to render outliers
Default
2
Scriptable
Indexable
Inherited from
ScriptableAndArrayOptions.outlierRadius
Source
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
<"violin"
>>
item style used to render outliers
Default
circle
Inherited from
ScriptableAndArrayOptions.outlierStyle
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/elements/base.ts:32
points
points:
number
number of points that should be samples of the KDE
Default
100
Inherited from
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
7
Inherited from
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
'nearest'
Inherited from
Source
work/chartjs-chart-boxplot/chartjs-chart-boxplot/src/data.ts:146