Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Commit 38724f2

Browse files
committed
fixup! prettier --write .
Signed-off-by: Miroslav Bajtoš <oss@bajtos.net>
1 parent 59a30c9 commit 38724f2

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/components/line-graph.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import * as Plot from 'npm:@observablehq/plot'
22

3-
export function LineGraph(events, { width, height, title, start, end, fromZero } = {}) {
3+
export function LineGraph(
4+
events,
5+
{ width, height, title, start, end, fromZero } = {},
6+
) {
47
const startDate = new Date(start)
58
const endDate = new Date(end)
69
const filteredEvents = events.filter((event) => {
@@ -25,7 +28,13 @@ export function LineGraph(events, { width, height, title, start, end, fromZero }
2528
width,
2629
height,
2730
x: { type: 'utc', ticks: 'month', label: null },
28-
y: { grid: true, inset: 10, label: 'RSR (%)', percent: true, zero: fromZero },
31+
y: {
32+
grid: true,
33+
inset: 10,
34+
label: 'RSR (%)',
35+
percent: true,
36+
zero: fromZero,
37+
},
2938
color: { legend: true },
3039
marks: [
3140
Plot.lineY(combinedData, {

0 commit comments

Comments
 (0)