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

Whiskers being drawn within area of Q1-Q3 #59

Closed
acochrane-nvx opened this issue Nov 18, 2019 · 2 comments
Closed

Whiskers being drawn within area of Q1-Q3 #59

acochrane-nvx opened this issue Nov 18, 2019 · 2 comments
Labels
type: bug Something isn't working

Comments

@acochrane-nvx
Copy link

With data with extreme outliers, I am finding a lot of times this chart style is drawing the whiskers above Q1 and below Q3. Is there a way to keep this from happening?
image

@sgratzl
Copy link
Contributor

sgratzl commented Nov 18, 2019

it depends on how one computes the whiskers, can you try the latest develop branch, it also provides more options to specify how the whiskers should be computed.

npm install github:datavisyn/chartjs-chart-box-and-violin-plot#develop

re options:
https://github.com/datavisyn/chartjs-chart-box-and-violin-plot/tree/develop#scale-options or https://github.com/datavisyn/chartjs-chart-box-and-violin-plot/blob/develop/samples/fivenum.html as an example

@sgratzl sgratzl added type: bug Something isn't working question labels Nov 19, 2019
@acochrane-nvx
Copy link
Author

This is using the latest version (2.8.0?) and no tick options, just defaults. What sort of options should I be using to make sure the whiskers are always above and below the box?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants