corrade-nucleus-nucleons – Diff between revs 1 and 11

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 1 Rev 11
Line 1... Line 1...
1 /** 1 /**
2 * @license Highcharts JS v5.0.10 (2017-03-31) 2 * @license Highcharts JS v5.0.12 (2017-05-24)
3 * 3 *
4 * (c) 2009-2017 Torstein Honsi 4 * (c) 2009-2017 Torstein Honsi
5 * 5 *
6 * License: www.highcharts.com/license 6 * License: www.highcharts.com/license
7 */ 7 */
Line 170... Line 170...
170 anchorY = ALIGN_FACTOR[options.anchorY], 170 anchorY = ALIGN_FACTOR[options.anchorY],
171 anchorX = ALIGN_FACTOR[options.anchorX], 171 anchorX = ALIGN_FACTOR[options.anchorX],
172 shapeParams, 172 shapeParams,
173 linkType, 173 linkType,
174 series, 174 series,
175 param, -  
176 bbox, 175 bbox,
177 x, 176 x,
178 y; 177 y;
Line 179... Line 178...
179   178  
Line 213... Line 212...
213   212  
214 if (shape) { 213 if (shape) {
Line 215... Line 214...
215 shapeParams = extend({}, options.shape.params); 214 shapeParams = extend({}, options.shape.params);
216   215  
217 if (options.units === 'values') { 216 if (options.units === 'values') {
218 for (param in shapeParams) { 217 H.objectEach(shapeParams, function(val, param) {
219 if (inArray(param, ['width', 'x']) > -1) { 218 if (inArray(param, ['width', 'x']) > -1) {
220 shapeParams[param] = xAxis.translate(shapeParams[param]); 219 shapeParams[param] = xAxis.translate(shapeParams[param]);
221 } else if (inArray(param, ['height', 'y']) > -1) { 220 } else if (inArray(param, ['height', 'y']) > -1) {
222 shapeParams[param] = yAxis.translate(shapeParams[param]); 221 shapeParams[param] = yAxis.translate(shapeParams[param]);
Line 223... Line 222...
223 } 222 }
224 } 223 });
225   224