Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Commit 844e7f6

Browse files
committed
Merge remote-tracking branch 'origin/develop' into sgratzl/bugfix
2 parents 2bbc5b1 + 1468051 commit 844e7f6

File tree

16 files changed

+1188
-333
lines changed

16 files changed

+1188
-333
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ env:
44
es6: true
55
jquery: true
66
node: true
7+
jest: true
78

89
parserOptions:
910
ecmaVersion: 2018

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,21 @@ interface IArrayLinearScale {
151151
* @default 'max'
152152
*/
153153
maxStats: 'max'|'q3'|'whiskerMax';
154+
155+
/**
156+
* from the R doc: this determines how far the plot ‘whiskers’ extend out from
157+
* the box. If coef is positive, the whiskers extend to the most extreme data
158+
* point which is no more than coef times the length of the box away from the
159+
* box. A value of zero causes the whiskers to extend to the data extremes
160+
* @default 1.5
161+
*/
162+
coef: number;
163+
164+
/**
165+
* the method to compute the quantiles. 7 and 'quantiles' refers to the type-7 method as used by R 'quantiles' method. 'hinges' and 'fivenum' refers to the method used by R 'boxplot.stats' method.
166+
* @default 7
167+
*/
168+
quantiles: 7 | 'quantiles' | 'hinges' | 'fivenum' | ((sortedArr: number[]) => {min: number, q1: number, median: number, q3: number, max: number});
154169
};
155170
}
156171
```

.babelrc renamed to babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{
1+
module.exports = {
22
"presets": [
33
[
44
"@babel/preset-env",

jest.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
transformIgnorePatterns: []
3+
};

0 commit comments

Comments
 (0)