mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Start line chart at first height.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user