This commit is contained in:
MuslemRahimi 2025-03-02 12:13:37 +01:00
parent e8d68f95f3
commit 2ab03c3878
4 changed files with 18 additions and 14 deletions

View File

@ -312,6 +312,13 @@
plotOptions: { plotOptions: {
series: { series: {
animation: false, animation: false,
marker: {
enabled: false,
states: {
hover: { enabled: false }, // Disable marker on hover
select: { enabled: false }, // Disable marker on selection
},
},
}, },
}, },
chart: { chart: {
@ -356,6 +363,14 @@
xAxis: { xAxis: {
categories: dates, categories: dates,
type: "datetime", type: "datetime",
endOnTick: false,
categories: dates,
crosshair: {
color: "#fff", // Set the color of the crosshair line
width: 1, // Adjust the line width as needed
dashStyle: "Solid",
},
labels: { labels: {
style: { style: {
color: "#fff", color: "#fff",
@ -378,9 +393,6 @@
data: valueList, data: valueList,
color: "#fff", color: "#fff",
animation: false, animation: false,
marker: {
enabled: false, // Hide point symbols
},
}, },
{ {
name: "Avg", name: "Avg",
@ -399,9 +411,6 @@
color: "#c2c7cf", color: "#c2c7cf",
dashStyle: "Dash", dashStyle: "Dash",
animation: false, animation: false,
marker: {
enabled: false,
},
}, },
{ {
name: "High", name: "High",
@ -409,9 +418,6 @@
color: "#c2c7cf", color: "#c2c7cf",
dashStyle: "Dash", dashStyle: "Dash",
animation: false, animation: false,
marker: {
enabled: false,
},
}, },
], ],
}; };

BIN
src/lib/images/profile.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

View File

@ -1,9 +1,7 @@
<script lang="ts"> <script lang="ts">
import SEO from "$lib/components/SEO.svelte"; import SEO from "$lib/components/SEO.svelte";
import profile from "$lib/images/profile.webp";
export let data; export let data;
let cloudFrontUrl = import.meta.env.VITE_IMAGE_URL;
</script> </script>
<SEO <SEO
@ -233,8 +231,8 @@
> >
<div> <div>
<img <img
class="rounded-lg object-cover shadow-lg w-24 h-24 sm:w-28 sm:h-28 m-auto mb-10 sm:mb-0" class="rounded-full object-cover shadow-lg w-24 h-24 sm:w-28 sm:h-28 m-auto mb-10 sm:mb-0"
src={cloudFrontUrl + "/assets/mrahimi.webp"} src={profile}
alt="Muslem Rahimi profile picture" alt="Muslem Rahimi profile picture"
loading="lazy" loading="lazy"
/> />