corrade-nucleus-nucleons
/base/000_base/bower_components/highcharts/modules/annotations.src.js |
@@ -1,5 +1,5 @@ |
/** |
* @license Highcharts JS v5.0.10 (2017-03-31) |
* @license Highcharts JS v5.0.12 (2017-05-24) |
* |
* (c) 2009-2017 Torstein Honsi |
* |
@@ -172,7 +172,6 @@ |
shapeParams, |
linkType, |
series, |
param, |
bbox, |
x, |
y; |
@@ -215,13 +214,13 @@ |
shapeParams = extend({}, options.shape.params); |
|
if (options.units === 'values') { |
for (param in shapeParams) { |
H.objectEach(shapeParams, function(val, param) { |
if (inArray(param, ['width', 'x']) > -1) { |
shapeParams[param] = xAxis.translate(shapeParams[param]); |
} else if (inArray(param, ['height', 'y']) > -1) { |
shapeParams[param] = yAxis.translate(shapeParams[param]); |
} |
} |
}); |
|
if (shapeParams.width) { |
shapeParams.width -= xAxis.toPixels(0) - xAxis.left; |