New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue while plotting boxplot #48
Comments
Codepen link for chart.js((v4.0.1, also tried with 3.5.1):-https://codepen.io/ajmalmajeed/pen/xxzyzNM |
in your codepen you are defining only 5 labels, so it only renders five boxplots? or am I missing something? |
for the whiskers and boxplot it depends how you configure this plugin: chartjs-chart-boxplot/src/data.ts Lines 116 to 137 in e3be15f
e.g. |
@sgratzl I tried changing the "coeff" variable in same file, Still the boxplot is incorrect, if you check the second boxplot the value is different. |
I still don't understand what "incorrect" means? can you post screenshot/values what the current boxplots are and what they supposed to be?| |
Hi if you check the second dataset, lowest value is 84.87,But while plotting boxplot, the graph doesn't show this value in chart(Please check second boxplot) |
I tried editing "coef" variable to zero, but still its not working. Please check |
@sgratzl Above picture shows the correct boxplot ,if you check the second boxplot you can see difference in values |
when I plot the second dataset in R in looks the same as in this plugin: since this plugin is modeled by default as R, I think it is correct. However, when I set the |
@sgratzl Thanks a lot, Its working now. |
By using 'coef' to zero, length of whiskers can be extended.Thanks @sgratzl |
Expected behavior
In chart.js while plotting boxplot with different datasets, some of the data is not shown in the chart. Tried with many other datasets, still facing same issue. Please help me to solve this
It should plot boxplot with any datasets ,irrespective of the data(Number Dataset)
Current behavior
In chart.js while plotting boxplot with different datasets, some of the data is not shown in the chart. Tried with many other datasets, still facing same issue. Please help me to solve this
I have tried plotting boxplot with different datasets, for some dataset its not plotting correctly. I think there is some issue in chart.js.
For the same dataset have tried plotting boxplot using Highchart ,there the data is showing correct
Using Chart.js :-[https://codepen.io/sgratzl/pen/QxoLoY]
Using Highchart.js:-[https://jsfiddle.net/fo481t6j/1/]
The text was updated successfully, but these errors were encountered: