Skip to content

Commit ec7af06

Browse files
committed
[#91106] ti_dac38j8x_eyescan: Fix legend position
1 parent 331ad7e commit ec7af06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protoplaster/tests/dac/ti_dac38j8x_eyescan/eye_diagram.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ <h2>Eye diagram</h2>
7575
// Y Axis label
7676
ctx.textBaseline = "top";
7777
ctx.rotate(-Math.PI / 2);
78-
ctx.fillText("Voltage Offset (mV)", - ctx.canvas.width / 2, 10);
78+
ctx.fillText("Voltage Offset (mV)", -ctx.canvas.height / 2, 10);
7979
ctx.rotate(Math.PI / 2);
8080

8181
// X Axis label

0 commit comments

Comments
 (0)