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