Skip to content

Commit

Permalink
Fix tooltip bug when map has multiple series. Fix #3320
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Jun 15, 2016
1 parent 0448485 commit 33f35e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/chart/map/MapSeries.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ define(function (require) {
var seriesGroup = this.seriesGroup;
var seriesNames = [];
for (var i = 0; i < seriesGroup.length; i++) {
if (!isNaN(seriesGroup[i].getRawValue(dataIndex))) {
var otherIndex = seriesGroup[i].getData().indexOfName(name);
if (!isNaN(seriesGroup[i].getRawValue(otherIndex))) {
seriesNames.push(
encodeHTML(seriesGroup[i].name)
);
Expand Down

0 comments on commit 33f35e6

Please sign in to comment.