app/assets/javascripts/highcharts/modules/funnel.js in highcharts-rails-4.0.3 vs app/assets/javascripts/highcharts/modules/funnel.js in highcharts-rails-4.0.4
- old
+ new
@@ -72,10 +72,10 @@
plotWidth = chart.plotWidth,
plotHeight = chart.plotHeight,
cumulative = 0, // start at top
center = options.center,
centerX = getLength(center[0], plotWidth),
- centerY = getLength(center[0], plotHeight),
+ centerY = getLength(center[1], plotHeight),
width = getLength(options.width, plotWidth),
tempWidth,
getWidthAt,
height = getLength(options.height, plotHeight),
neckWidth = getLength(options.neckWidth, plotWidth),