Closed aspirew closed 1 month ago
I think two things are happening here
e.g.
window.onload = () => {
const ctx = document.getElementById("canvas").getContext("2d");
new Chart(ctx, {
type: 'boxplot',
data: {
labels: ["column"],
datasets: [
{
label: "labels",
data: [[1,2,3,3,3,3, 10]],
}
]
},
options: {
minStats: 'whiskerMin',
maxStats: 'whiskerMax',
scales: {
y: {
beginAtZero: false
}
}
},
});
};
results in
Yes, it affects all the data so you need to keep an eye on that. It also didnt work for me without 'beginAtZero' property, looks much better now. Thank you, great project :)
I cannot scale chart properly for following configuration:
I expect chart to start at 1 and end on 3. Looks like it remains with default configuration: