func (ig *ImageGraphics) Line(x0, y0, x1, y1 int, style chart.Style) { if style.LineWidth <= 0 { style.LineWidth = 1 } ig.setStyle(style) ig.gc.MoveTo(float64(x0), float64(y0)) ig.gc.LineTo(float64(x1), float64(y1)) ig.gc.Stroke() }