<!--
为了方便我们能够复现和修复 bug,请遵从下面的规范描述您的问题。
-->


### One-line summary [问题简述]
使用dataset方式,tooltips会出现下面这种重复的问题,并且其它的错误:
![image](https://user-images.githubusercontent.com/17884316/45471605-2cbd0d80-b764-11e8-92a4-3c8ecdc5cd02.png)



### Version & Environment [版本及环境]
+ ECharts version [ECharts 版本]: 4.1.0
+ Browser version [浏览器类型和版本]: 所有都不行
+ OS Version [操作系统类型和版本]: windows 10





### Expected behaviour [期望结果]

tooltips不重复显示,且不会出错



### ECharts option [ECharts配置项]
<!-- Copy and paste your 'echarts option' here. -->
<!-- [下方贴你的option,注意不要删掉下方 ```javascript 和 尾部的 ``` 字样。最好是我们能够直接运行的 
option。如何得到能运行的 option 参见上方的 guidelines for contributing] -->
```javascript
option ={
  "tooltip": {
    "trigger": "axis",
    "axisPointer": {
      "type": "shadow"
    }
  },
  "legend": {
    "data": [
      "一级用户",
      "二级用户",
      "三级用户"
    ]
  },
  "calculable": true,
  "xAxis": [
    {
      "type": "category",
      "axisTick": {
        "show": false
      }
    }
  ],
  "yAxis": [
    {
      "type": "value"
    }
  ],
  "series": [
    {
      "name": "一级用户",
      "type": "bar",
      "barGap": 0
    },
    {
      "name": "二级用户",
      "type": "bar"
    },
    {
      "name": "三级用户",
      "type": "bar"
    }
  ],
  "dataset": {
    "dimensions": [
      "week",
      "firstAu",
      "secondAu",
      "thirdAu"
    ],
    "source": [
      {
        "firstAu": 6,
        "week": "第1周"
      },
      {
        "secondAu": 9,
        "week": "第1周"
      },
      {
        "thirdAu": 10,
        "week": "第1周"
      },
      {
        "firstAu": 12,
        "week": "第2周"
      },
      {
        "secondAu": 6,
        "week": "第2周"
      },
      {
        "thirdAu": 7,
        "week": "第2周"
      },
      {
        "firstAu": 9,
        "week": "第3周"
      },
      {
        "secondAu": 8,
        "week": "第3周"
      },
      {
        "thirdAu": 8,
        "week": "第3周"
      }
    ]
  }
}

```




### Other comments [其他信息]
<!-- For example: Screenshot or Online demo -->
<!-- [例如,截图或线上实例 (JSFiddle/JSBin/Codepen)] -->



[ Full content available at: 
https://github.com/apache/incubator-echarts/issues/9062 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to