app/assets/javascripts/highcharts/highcharts-3d.js in highcharts-rails-6.0.1 vs app/assets/javascripts/highcharts/highcharts-3d.js in highcharts-rails-6.0.2

- old
+ new

@@ -1,7 +1,7 @@ /** - * @license Highcharts JS v6.0.1 (2017-10-05) + * @license Highcharts JS v6.0.2 (2017-10-20) * * 3D features for Highcharts JS * * @license: www.highcharts.com/license */ @@ -2917,11 +2917,10 @@ splat = H.splat, Tick = H.Tick, wrap = H.wrap; /** - * Options to render axis in 3 dimensions. * @optionparent xAxis */ var extendedOptions = { labels: { /** @@ -3011,11 +3010,11 @@ wrap(Axis.prototype, 'setOptions', function(proceed, userOptions) { var options; proceed.call(this, userOptions); - if (this.chart.is3d() && this.coll !== 'colorAxis') { + if (this.chart.is3d && this.chart.is3d() && this.coll !== 'colorAxis') { options = this.options; options.tickWidth = pick(options.tickWidth, 0); options.gridLineWidth = pick(options.gridLineWidth, 1); } }); @@ -3903,10 +3902,10 @@ function pointAttribs(proceed) { var attr = proceed.apply(this, [].slice.call(arguments, 1)); - if (this.chart.is3d()) { + if (this.chart.is3d && this.chart.is3d()) { // Set the fill color to the fill color to provide a smooth edge attr.stroke = this.options.edgeColor || attr.fill; attr['stroke-width'] = pick(this.options.edgeWidth, 1); // #4055 }