From 0e43b33aa039a3b90474d3f18140343585382db6 Mon Sep 17 00:00:00 2001
From: DarkIntaqt <61588850+DarkIntaqt@users.noreply.github.com>
Date: Sun, 30 Jul 2023 23:52:04 +0200
Subject: [PATCH] remove chart data
---
src/module/Challenge.js | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/src/module/Challenge.js b/src/module/Challenge.js
index b131542..9f9a9c8 100644
--- a/src/module/Challenge.js
+++ b/src/module/Challenge.js
@@ -208,6 +208,7 @@ class Challenge extends Component {
data: data,
options: {
animation: false,
+ radius: 7,
plugins: {
tooltip: {
callbacks: {
@@ -220,14 +221,21 @@ class Challenge extends Component {
},
scales: {
x: {
+ ticks: {
+ display: false,
+ },
grid: {
- display: true,
- drawBorder: true,
+ display: false,
+ drawBorder: false,
color: getComputedStyle(document.documentElement).getPropertyValue('--dark3'),
}
},
y: {
+ ticks: {
+ display: false,
+ },
grid: {
+ display: false,
drawBorder: false,
color: getComputedStyle(document.documentElement).getPropertyValue('--dark3'),
},
@@ -619,7 +627,7 @@ class Challenge extends Component {
{t("Points per game")}
-
+