Skip to content

Commit 48f87c8

Browse files
fix: chart start line width
1 parent a9ad759 commit 48f87c8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/features/Overview/SlotPerformance/ComputeUnitsCard/startLinePlugin.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import uPlot from "uplot";
2-
31
import { xScaleKey } from "./consts";
42
import { startLineColor } from "../../../../colors";
53
import { getDefaultStore } from "jotai";
@@ -53,7 +51,7 @@ export function startLinePlugin(): uPlot.Plugin {
5351
ctx.beginPath();
5452

5553
ctx.strokeStyle = startLineColor;
56-
ctx.lineWidth = 5 / uPlot.pxRatio;
54+
ctx.lineWidth = 3;
5755
ctx.setLineDash([5, 5]);
5856

5957
ctx.moveTo(x, u.bbox.top);

0 commit comments

Comments
 (0)