Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/lib/components/vitals.graphs/Join.Line.Chart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
display: true,
text: 'Date',
color: textColor
},
border: {
color: gridColor // Change y-axis line color
}
},
y: {
Expand All @@ -93,6 +96,9 @@
display: true,
text: title,
color: textColor
},
border: {
color: gridColor // Change y-axis line color
}
}
},
Expand Down
10 changes: 8 additions & 2 deletions src/lib/components/vitals.graphs/Line.Chart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
import { onMount, onDestroy } from 'svelte';
import Chart from 'chart.js/auto';

/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////

export let labels: string[] = [];
export let data: number[] = [];
export let title: string;
Expand Down Expand Up @@ -61,6 +61,9 @@
display: true,
text: 'Date',
color: textColor
},
border: {
color: gridColor // Change x-axis line color
}
},
y: {
Expand All @@ -79,6 +82,9 @@
display: true,
text: title,
color: textColor
},
border: {
color: gridColor // Change y-axis line color
}
}
},
Expand Down