Skip to content

Commit

Permalink
filter for y0 in scale domain (#3478)
Browse files Browse the repository at this point in the history
  • Loading branch information
waltonseymour authored and themadcreator committed Feb 4, 2019
1 parent 4b97af0 commit be44566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plots/xyPlot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class XYPlot<X, Y> extends Plot {
protected _filterForProperty(property: string): IAccessor<boolean> {
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;
Expand Down

1 comment on commit be44566

@blueprint-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

filter for y0 in scale domain (#3478)

Demo: quicktests | fiddle

Please sign in to comment.