22// @compilation_level SIMPLE_OPTIMIZATIONS
33
44/**
5- * @license Highcharts JS v4.1.2 (2015-02-27)
5+ * @license Highcharts JS v4.1.3 (2015-02-27)
66 *
77 * (c) 2009-2014 Torstein Honsi
88 *
@@ -56,7 +56,7 @@ var UNDEFINED,
5656 charts = [ ] ,
5757 chartCount = 0 ,
5858 PRODUCT = 'Highcharts' ,
59- VERSION = '4.1.2 ' ,
59+ VERSION = '4.1.3 ' ,
6060
6161 // some constants for frequently used strings
6262 DIV = 'div' ,
@@ -1259,8 +1259,8 @@ defaultOptions = {
12591259 global : {
12601260 useUTC : true ,
12611261 //timezoneOffset: 0,
1262- canvasToolsURL : 'http://code.highcharts.com/4.1.2 /modules/canvas-tools.js' ,
1263- VMLRadialGradientURL : 'http://code.highcharts.com/4.1.2 /gfx/vml-radial-gradient.png'
1262+ canvasToolsURL : 'http://code.highcharts.com/4.1.3 /modules/canvas-tools.js' ,
1263+ VMLRadialGradientURL : 'http://code.highcharts.com/4.1.3 /gfx/vml-radial-gradient.png'
12641264 } ,
12651265 chart : {
12661266 //animation: true,
@@ -2828,7 +2828,7 @@ SVGElement.prototype = {
28282828 titleNode = doc . createElementNS ( SVG_NS , 'title' ) ;
28292829 this . element . appendChild ( titleNode ) ;
28302830 }
2831- titleNode . textContent = pick ( value , '' ) . replace ( / < [ ^ > ] * > / g, '' ) ; // #3276
2831+ titleNode . textContent = ( String ( pick ( value ) , '' ) ) . replace ( / < [ ^ > ] * > / g, '' ) ; // #3276 #3895
28322832 } ,
28332833 textSetter : function ( value ) {
28342834 if ( value !== this . textStr ) {
@@ -14279,7 +14279,8 @@ Series.prototype = {
1427914279 zoneAxis = this . zoneAxis || 'y' ,
1428014280 axis = this [ zoneAxis + 'Axis' ] ,
1428114281 reversed = axis . reversed ,
14282- horiz = axis . horiz ;
14282+ horiz = axis . horiz ,
14283+ ignoreZones = false ;
1428314284
1428414285 if ( zones . length && ( graph || area ) ) {
1428514286 // The use of the Color Threshold assumes there are no gaps
@@ -14292,6 +14293,10 @@ Series.prototype = {
1429214293 translatedFrom = pick ( translatedTo , ( reversed ? ( horiz ? chart . plotWidth : 0 ) : ( horiz ? 0 : axis . toPixels ( axis . min ) ) ) ) ;
1429314294 translatedTo = mathRound ( axis . toPixels ( pick ( threshold . value , axis . max ) , true ) ) ;
1429414295
14296+ if ( ignoreZones ) {
14297+ translatedFrom = translatedTo = axis . toPixels ( axis . max ) ;
14298+ }
14299+
1429514300 if ( axis . isXAxis ) {
1429614301 clipAttr = {
1429714302 x : reversed ? translatedTo : translatedFrom ,
@@ -14345,6 +14350,8 @@ Series.prototype = {
1434514350 series [ 'colorArea' + i ] . clip ( clips [ i ] ) ;
1434614351 }
1434714352 }
14353+ // if this zone extends out of the axis, ignore the others
14354+ ignoreZones = threshold . value > axis . max ;
1434814355 } ) ;
1434914356 this . clips = clips ;
1435014357 }
@@ -17528,7 +17535,7 @@ if (seriesTypes.column) {
1752817535
1752917536
1753017537/**
17531- * Highcharts JS v4.1.2 (2015-02-27)
17538+ * Highcharts JS v4.1.3 (2015-02-27)
1753217539 * Highcharts module to hide overlapping data labels. This module is included by default in Highmaps.
1753317540 *
1753417541 * (c) 2010-2014 Torstein Honsi
0 commit comments