Permalink
Browse files

Fixed JS error when adding points to a series before redraw. Closes #927

.
  • Loading branch information...
1 parent cea8956 commit 22609de37cb9dd48a3d871b0ec0f883e68db0da1 @TorsteinHonsi TorsteinHonsi committed May 2, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 js/highcharts.src.js
  2. +1 −1 js/highstock.src.js
  3. +1 −1 js/parts/Series.js
@@ -11964,7 +11964,7 @@ Series.prototype = {
stroke: seriesColor,
fill: seriesColor
},
- points = series.points,
+ points = series.points || [], // #927
i,
point,
seriesPointAttr = [],
View
@@ -11964,7 +11964,7 @@ Series.prototype = {
stroke: seriesColor,
fill: seriesColor
},
- points = series.points,
+ points = series.points || [], // #927
i,
point,
seriesPointAttr = [],
View
@@ -1501,7 +1501,7 @@ Series.prototype = {
stroke: seriesColor,
fill: seriesColor
},
- points = series.points,
+ points = series.points || [], // #927
i,
point,
seriesPointAttr = [],

0 comments on commit 22609de

Please sign in to comment.