stacked exp bar chart correctly

This commit is contained in:
41666 2023-06-29 16:33:52 -04:00
parent f49a8a0fda
commit 9ebeeb47f4

View file

@ -150,7 +150,7 @@
<div class="wide"> <div class="wide">
<div class="graph-head"> <div class="graph-head">
<h3>Experience Events By ID</h3> <h3>Experience Events By ID</h3>
<p class="exp-by-id-sums">(0, 0, 0, 0)</p> <p id="exp-by-id-sums">(0, 0, 0, 0)</p>
</div> </div>
<div class="chart-container"> <div class="chart-container">
<canvas id="exp-by-id" /> <canvas id="exp-by-id" />
@ -280,7 +280,7 @@
type: "bar", type: "bar",
options: { options: {
scales: { scales: {
y: { beginAtZero: true, suggestedMin: 0 }, y: { stacked: true, beginAtZero: true, suggestedMin: 0 },
x: { stacked: true, type: "timeseries" }, x: { stacked: true, type: "timeseries" },
}, },
}, },