diff --git a/src/plots/xyPlot.ts b/src/plots/xyPlot.ts index 754e68d207..9a2bd2821b 100644 --- a/src/plots/xyPlot.ts +++ b/src/plots/xyPlot.ts @@ -175,7 +175,7 @@ export class XYPlot extends Plot { protected _filterForProperty(property: string): IAccessor { if (property === "x" && this._autoAdjustXScaleDomain) { return this._makeFilterByProperty("y"); - } else if (property === "y" && this._autoAdjustYScaleDomain) { + } else if ((property === "y" || property === "y0") && this._autoAdjustYScaleDomain) { return this._makeFilterByProperty("x"); } return null;