app/assets/javascripts/plasticine/column.coffee in plasticine-1.2.5 vs app/assets/javascripts/plasticine/column.coffee in plasticine-1.2.6
- old
+ new
@@ -108,11 +108,11 @@
setXAxis: () ->
@xAxis = d3.axisBottom(@xScale)
@xAxis.tickSize -@holder.height()
- PlasticineHelpers.setAxisFormat @xAxis, @xAxisFormat
+ PlasticineHelpers.setAxisFormat @xAxis, @xAxisFormat, @quarterStartMonth
setXScaleRange: () ->
columnsMargin = @holder.data('columns-margin')
columnsLeftPadding = @holder.data('columns-left-padding')
@@ -125,10 +125,10 @@
setYAxis: () ->
@yAxis = d3.axisLeft(@yScale)
@yAxis.tickSize -@holderWidth()
@yAxis.ticks @yAxisTickCount
- PlasticineHelpers.setAxisFormat @yAxis, @yAxisFormat
+ PlasticineHelpers.setAxisFormat @yAxis, @yAxisFormat, @quarterStartMonth
showTooltip: (bar, data) ->
barNode = $($(bar).find('rect:last-child')[0])
barX = $(bar).attr('x')