Skip to content

Commit

Permalink
Fixed highcharts#4082, series with zones didn't apply hover line width.
Browse files Browse the repository at this point in the history
  • Loading branch information
TorsteinHonsi committed Apr 9, 2015
1 parent 8855238 commit b8bab61
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 16 deletions.
9 changes: 5 additions & 4 deletions js/highcharts.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -18372,10 +18372,10 @@ extend(Series.prototype, {
var series = this,
options = series.options,
graph = series.graph,
graphNeg = series.graphNeg,
stateOptions = options.states,
lineWidth = options.lineWidth,
attribs;
attribs,
i = 0;

state = state || NORMAL_STATE;

Expand All @@ -18396,8 +18396,9 @@ extend(Series.prototype, {
};
// use attr because animate will cause any other animation on the graph to stop
graph.attr(attribs);
if (graphNeg) {
graphNeg.attr(attribs);
while (series['zoneGraph' + i]) {
series['zoneGraph' + i].attr(attribs);
i = i + 1;
}
}
}
Expand Down
9 changes: 5 additions & 4 deletions js/highmaps.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -19318,10 +19318,10 @@ extend(Series.prototype, {
var series = this,
options = series.options,
graph = series.graph,
graphNeg = series.graphNeg,
stateOptions = options.states,
lineWidth = options.lineWidth,
attribs;
attribs,
i = 0;

state = state || NORMAL_STATE;

Expand All @@ -19342,8 +19342,9 @@ extend(Series.prototype, {
};
// use attr because animate will cause any other animation on the graph to stop
graph.attr(attribs);
if (graphNeg) {
graphNeg.attr(attribs);
while (series['zoneGraph' + i]) {
series['zoneGraph' + i].attr(attribs);
i = i + 1;
}
}
}
Expand Down
9 changes: 5 additions & 4 deletions js/highstock.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -18372,10 +18372,10 @@ extend(Series.prototype, {
var series = this,
options = series.options,
graph = series.graph,
graphNeg = series.graphNeg,
stateOptions = options.states,
lineWidth = options.lineWidth,
attribs;
attribs,
i = 0;

state = state || NORMAL_STATE;

Expand All @@ -18396,8 +18396,9 @@ extend(Series.prototype, {
};
// use attr because animate will cause any other animation on the graph to stop
graph.attr(attribs);
if (graphNeg) {
graphNeg.attr(attribs);
while (series['zoneGraph' + i]) {
series['zoneGraph' + i].attr(attribs);
i = i + 1;
}
}
}
Expand Down
9 changes: 5 additions & 4 deletions js/parts/Interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -668,10 +668,10 @@ extend(Series.prototype, {
var series = this,
options = series.options,
graph = series.graph,
graphNeg = series.graphNeg,
stateOptions = options.states,
lineWidth = options.lineWidth,
attribs;
attribs,
i = 0;

state = state || NORMAL_STATE;

Expand All @@ -692,8 +692,9 @@ extend(Series.prototype, {
};
// use attr because animate will cause any other animation on the graph to stop
graph.attr(attribs);
if (graphNeg) {
graphNeg.attr(attribs);
while (series['zoneGraph' + i]) {
series['zoneGraph' + i].attr(attribs);
i = i + 1;
}
}
}
Expand Down

0 comments on commit b8bab61

Please sign in to comment.