C# graphics drawlines draws broken lines
问题 I am drawing ECG graphs using C# Graphics. I draw the curve using drawlines method. however line joints look broken. I tried all available options of smoothing mode and capstyle, none helps. here is sample graph1 and sample graph2 code is below: private void DrawCurve(Graphics g, cPoint[] data) { List<Point> ps = new List<Point>(); for (int i = 0; i < data.Length - 1; i++) { int x = data[i].x; int y = data[i].y; if (x > 0 && x < (Width)) { ps.Add(new Point(x, y)); } else if (x > Width) {