app/assets/javascripts/plasticine/line.coffee in plasticine-1.2.5 vs app/assets/javascripts/plasticine/line.coffee in plasticine-1.2.6
- old
+ new
@@ -128,11 +128,11 @@
setXAxis: () ->
@xAxis = d3.axisBottom(@xScale)
@xAxis.tickSize -@holder.height()
- PlasticineHelpers.setAxisFormat @xAxis, @xAxisFormat
+ PlasticineHelpers.setAxisFormat @xAxis, @xAxisFormat, @quarterStartMonth
setXScaleRange: () ->
linesMargin = @holder.data('lines-margin')
linesLeftPadding = @holder.data('lines-left-padding')
@@ -145,6 +145,6 @@
setYAxis: () ->
@yAxis = d3.axisLeft(@yScale)
@yAxis.tickSize -@holderWidth()
@yAxis.ticks @yAxisTickCount
- PlasticineHelpers.setAxisFormat @yAxis, @yAxisFormat
+ PlasticineHelpers.setAxisFormat @yAxis, @yAxisFormat, @quarterStartMonth