fix: fixed LineChart draw with an offset when a label is present (#3071)

This commit is contained in:
Shatyuka
2026-03-26 19:36:02 +08:00
committed by GitHub
parent 5e2aec3f6a
commit 08952d0651

View File

@@ -233,7 +233,7 @@ public class LineChartView: NSView {
}
let point = CGPoint(
x: CGFloat(i) * xRatio,
x: (CGFloat(i) * xRatio) + dirtyRect.origin.x,
y: y
)
line.append(point)