app/assets/javascripts/highcharts.js in highcharts-rails-5.0.13 vs app/assets/javascripts/highcharts.js in highcharts-rails-5.0.14
- old
+ new
@@ -1,7 +1,7 @@
/**
- * @license Highcharts JS v5.0.13 (2017-07-27)
+ * @license Highcharts JS v5.0.14 (2017-07-28)
*
* (c) 2009-2016 Torstein Honsi
*
* License: www.highcharts.com/license
*/
@@ -33,11 +33,11 @@
isFirefox = /Firefox/.test(userAgent),
hasBidiBug = isFirefox && parseInt(userAgent.split('Firefox/')[1], 10) < 4; // issue #38
var Highcharts = win.Highcharts ? win.Highcharts.error(16, true) : {
product: 'Highcharts',
- version: '5.0.13',
+ version: '5.0.14',
deg2rad: Math.PI * 2 / 360,
doc: doc,
hasBidiBug: hasBidiBug,
hasTouch: doc && doc.documentElement.ontouchstart !== undefined,
isMS: isMS,
@@ -4363,11 +4363,11 @@
.replace(/ /g, '%20') : // replace spaces (needed for Safari only)
'';
// Add description
desc = this.createElement('desc').add();
- desc.element.appendChild(doc.createTextNode('Created with Highcharts 5.0.13'));
+ desc.element.appendChild(doc.createTextNode('Created with Highcharts 5.0.14'));
/**
* A pointer to the `defs` node of the root SVG.
* @type {SVGElement}
* @name defs
@@ -8055,11 +8055,11 @@
* @default {highstock} http://code.highcharts.com/highstock/{version}/gfx/vml-radial-gradient.png
* @default {highmaps} http://code.highcharts.com/{version}/gfx/vml-radial-gradient.png
* @since 2.3.0
* @product highcharts highstock highmaps
*/
- VMLRadialGradientURL: 'http://code.highcharts.com/5.0.13/gfx/vml-radial-gradient.png'
+ VMLRadialGradientURL: 'http://code.highcharts.com/5.0.14/gfx/vml-radial-gradient.png'
},
chart: {
/**
@@ -19463,10 +19463,11 @@
H.css(node, node.hcOrigStyle);
delete node.hcOrigStyle;
}
if (node.hcOrigDetached) {
doc.body.removeChild(node);
+ node.hcOrigDetached = false;
}
node = node.parentNode;
}
}
},
@@ -29525,10 +29526,10 @@
// inside the columns.
Chart.prototype.callbacks.push(function(chart) {
function collectAndHide() {
var labels = [];
- each(chart.yAxis, function(yAxis) {
+ each(chart.yAxis || [], function(yAxis) {
if (
yAxis.options.stackLabels &&
!yAxis.options.stackLabels.allowOverlap
) {
objectEach(yAxis.stacks, function(stack) {