Commit 5fb61a92 authored by David Schnur's avatar David Schnur

Respect autoscale when nullifying points.

Resolves #1033.
parent 2347c9a2
...@@ -1073,11 +1073,15 @@ Licensed under the MIT license. ...@@ -1073,11 +1073,15 @@ Licensed under the MIT license.
if (val != null) { if (val != null) {
f = format[m]; f = format[m];
// extract min/max info // extract min/max info
if (f.x) if (f.autoscale) {
if (f.x) {
updateAxis(s.xaxis, val, val); updateAxis(s.xaxis, val, val);
if (f.y) }
if (f.y) {
updateAxis(s.yaxis, val, val); updateAxis(s.yaxis, val, val);
} }
}
}
points[k + m] = null; points[k + m] = null;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment