mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-08-30 22:05:08 +00:00
Small correction to the plot with multiple axes.
This commit is contained in:
@@ -227,13 +227,14 @@ namespace OpenHardwareMonitor.GUI {
|
|||||||
var type = pair.Key;
|
var type = pair.Key;
|
||||||
axis.StartPosition = 0;
|
axis.StartPosition = 0;
|
||||||
axis.EndPosition = 1;
|
axis.EndPosition = 1;
|
||||||
axis.PositionTier = tier;
|
axis.PositionTier = axis.IsAxisVisible ? tier : 0;
|
||||||
if (axis.IsAxisVisible)
|
if (axis.IsAxisVisible)
|
||||||
tier++;
|
tier++;
|
||||||
axis.MajorGridlineStyle = LineStyle.None;
|
axis.MajorGridlineStyle = LineStyle.None;
|
||||||
axis.MinorGridlineStyle = LineStyle.None;
|
axis.MinorGridlineStyle = LineStyle.None;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void InvalidatePlot() {
|
public void InvalidatePlot() {
|
||||||
|
Reference in New Issue
Block a user