Skip to content

Commit

Permalink
Reset histogram zoom - see #7
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-blackman committed Mar 7, 2024
1 parent 0511f87 commit 8719dc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/common/model/Histogram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export default class Histogram {
}

public reset(): void {
this.zoomProperty.reset();
this.selectedBinWidthProperty.reset();
this.selectedTotalBinsProperty.reset();
}
Expand Down

0 comments on commit 8719dc2

Please sign in to comment.