From 3f2a435c99c8e2f43d2134fbed422e1cacb60904 Mon Sep 17 00:00:00 2001 From: Philip Eriksson <12006381+phieri@users.noreply.github.com> Date: Fri, 13 Sep 2024 15:26:50 +0200 Subject: [PATCH 1/3] Remove tiny data point circles from prerendered graphs --- src/index.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/index.ts b/src/index.ts index 53957c3..63af059 100644 --- a/src/index.ts +++ b/src/index.ts @@ -236,6 +236,11 @@ export const generateGraphs = async () => { ], }, options: { + elements: { + point: { + pointStyle: false, + }, + }, legend: { display: false }, scales: { xAxes: [ @@ -276,6 +281,11 @@ export const generateGraphs = async () => { ], }, options: { + elements: { + point: { + pointStyle: false, + }, + }, legend: { display: false }, scales: { xAxes: [ From 527196b8a49f66184466936482dbbf73cea6a101 Mon Sep 17 00:00:00 2001 From: Philip Eriksson <12006381+phieri@users.noreply.github.com> Date: Tue, 3 Mar 2026 01:01:53 +0100 Subject: [PATCH 2/3] Update src/index.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 63af059..044e2f6 100644 --- a/src/index.ts +++ b/src/index.ts @@ -283,7 +283,9 @@ export const generateGraphs = async () => { options: { elements: { point: { - pointStyle: false, + radius: 0, + hitRadius: 0, + hoverRadius: 0, }, }, legend: { display: false }, From d48fd62bfdf077ebfc34fa17a4eb551e9ec17d83 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 01:08:48 +0100 Subject: [PATCH 3/3] Fix point circle removal for Chart.js v2 (#2) * Initial plan * Fix point removal: use radius/hoverRadius/hitRadius instead of pointStyle Co-authored-by: phieri <12006381+phieri@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: phieri <12006381+phieri@users.noreply.github.com> --- src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 044e2f6..b79f425 100644 --- a/src/index.ts +++ b/src/index.ts @@ -238,7 +238,9 @@ export const generateGraphs = async () => { options: { elements: { point: { - pointStyle: false, + radius: 0, + hoverRadius: 0, + hitRadius: 0, }, }, legend: { display: false },