Skip to content

Commit

Permalink
Fix missing second-last label and axis line
Browse files Browse the repository at this point in the history
  • Loading branch information
wooly committed Aug 8, 2013
1 parent 698670a commit 2d9fa45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coffeescript/charts/line_chart.coffee
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class LineChart extends BaseChart
label_coordinates.push points[last].x label_coordinates.push points[last].x
return if max_labels < 3 return if max_labels < 3


len = points.length-2 len = points.length-1
step_size = len / (max_labels-1) step_size = len / (max_labels-1)


# when irrational # when irrational
Expand Down

0 comments on commit 2d9fa45

Please sign in to comment.