Skip to content

Commit

Permalink
Merge pull request #481 from hkwi/sort_axis_tick_numeric
Browse files Browse the repository at this point in the history
sort axis tick numbers in numeric order
  • Loading branch information
davelandry committed May 23, 2016
2 parents 120a0a2 + 477fc81 commit 1527e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/viz/types/helpers/graph/includes/axes.coffee
Expand Up @@ -180,7 +180,7 @@ axisRange = (vars, axis, zero, buffer) ->
, []
counts
else
uniques(values).sort()
uniques(values).sort((a,b) -> a-b)
else
values.sort (a, b) -> a - b
if vars[axis].scale.value is "log"
Expand Down

0 comments on commit 1527e34

Please sign in to comment.