Start line chart at first height.

This commit is contained in:
2019-04-22 02:14:32 +01:00
parent 928ba6726e
commit af4c798483

View File

@@ -327,6 +327,8 @@ namespace DiscImageChef.Gui.Controls
float nextXrated = nextPoint.X * ratioX;
float nextYrated = nextPoint.Y * ratioY;
if(prevYrated <= 0) prevYrated = nextYrated;
g.DrawLine(lineColor, marginXrated + prevXrated, rect.Height - marginYrated - prevYrated,
marginXrated + nextXrated, rect.Height - marginYrated - nextYrated);