Skip to content

Commit

Permalink
Merge pull request #680 from palantir/numeric-axis-tick-count
Browse files Browse the repository at this point in the history
Numeric Axis no longer forces 10 ticks.
  • Loading branch information
teamdandelion committed Jul 9, 2014
2 parents 01b6c60 + cfef0af commit d926e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plottable.js
Original file line number Diff line number Diff line change
Expand Up @@ -4549,7 +4549,7 @@ var Plottable;
};

Numeric.prototype._getTickValues = function () {
return this._scale.ticks(10);
return this._scale.ticks();
};

Numeric.prototype._doRender = function () {
Expand Down
2 changes: 1 addition & 1 deletion src/components/numericAxis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export module Axis {
}

public _getTickValues(): any[] {
return this._scale.ticks(10);
return this._scale.ticks();
}

public _doRender() {
Expand Down

0 comments on commit d926e1b

Please sign in to comment.