wowtoken.app

git clone https://git.emily.sh/wowtoken-app/wowtoken.app.git
Log | Files | Refs | README | LICENSE

commit 6b5419b657da757e09304839934ee135985e2076
parent dbb895c32cf01a538e715c63a55e21a8f6ca0344
Author: Emily Doherty <git@emily.sh>
Date:   Sat, 26 Nov 2022 02:15:10 -0800

Updated interact methodology

Before, seeing exactly what number was on the chart required you to hover you mouse on the point exactly. Now, you can hover anywhere on the chart and it will tell you the the point closest to your mouse

Diffstat:
Msrc/index.js | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/index.js b/src/index.js @@ -51,6 +51,10 @@ function populateChart() { }] }, options: { + interaction: { + intersect: false, + mode: "index" + }, scales: { x: { type: 'time',