private void drawHorizontalGrid(float y1) { _template.SetLineWidth(HorizontalLineWidth); _template.SetColorStroke(HorizontalGridColor); _template.MoveTo(Margin + _leftMargin, y1); _template.LineTo(_chartWidth - Margin, y1); _template.Stroke(); }