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

Respect autoscale when nullifying points.

Resolves #1033.
parent 2347c9a2
...@@ -1073,10 +1073,14 @@ Licensed under the MIT license. ...@@ -1073,10 +1073,14 @@ 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) {
updateAxis(s.xaxis, val, val); if (f.x) {
if (f.y) updateAxis(s.xaxis, val, val);
updateAxis(s.yaxis, val, val); }
if (f.y) {
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