New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visualMap的categories为数值型字符串时,无法匹配series的data对应类目 #4960

xiaotianlongxing opened this Issue Jan 18, 2017 · 0 comments


None yet
2 participants

One-line summary [问题简述]


Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]:echart3.4.0
  • Browser version [浏览器类型和版本]:谷歌56.0.2896.3
  • OS Version [操作系统类型和版本]:win7

Expected behaviour [期望结果]


ECharts option [ECharts配置项]

option = {
    "xAxis": {
        "type": "value",
        "name": "salary"
    "yAxis": {
        "type": "value",
        "name": "deposit"
    "visualMap": [
            "show": true,
            "dimension": 2,
            "categories": ["11","12"],
            "inRange": {
                "color": ["#ff6600","#9F79EE"]
    "series": [
            "data": [
                [ "500.0","100.0","11"],
            "type": "scatter"

Other comments [其他信息]

@100pah 100pah added the bug label Jan 19, 2017

@100pah 100pah closed this in 356583b Jan 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment