Skip to content

Commit

Permalink
Merge pull request #2314 from mikedream89/master
Browse files Browse the repository at this point in the history
[FIX] not find centeringEnabled
  • Loading branch information
danielgindi authored Sep 30, 2016
2 parents c8553da + cf0f1fc commit 6f1d365
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ protected void computeAxisValues(float min, float max) {
interval = Math.floor(10 * intervalMagnitude);
}

int n = centeringEnabled ? 1 : 0;
int n = mAxis.isCenterAxisLabelsEnabled() ? 1 : 0;

// force label count
if (mAxis.isForceLabelsEnabled()) {
Expand Down

0 comments on commit 6f1d365

Please sign in to comment.