mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Merge pull request #3812 from APriestman/3874_trendLines
Fixing y coordinate for trend lines that don't fit on the graph.
This commit is contained in:
commit
d77d99dc15
@ -373,7 +373,7 @@ class TimingMetricGraphPanel extends JPanel {
|
|||||||
}
|
}
|
||||||
} else if (y0value > maxValueOnYAxis) {
|
} else if (y0value > maxValueOnYAxis) {
|
||||||
try {
|
try {
|
||||||
y0value = minValueOnYAxis;
|
y0value = maxValueOnYAxis;
|
||||||
x0value = trendLine.getXGivenY(y0value);
|
x0value = trendLine.getXGivenY(y0value);
|
||||||
} catch (HealthMonitorException ex) {
|
} catch (HealthMonitorException ex) {
|
||||||
// The exception is caused by a slope of zero on the trend line, which
|
// The exception is caused by a slope of zero on the trend line, which
|
||||||
|
Loading…
x
Reference in New Issue
Block a user