Skip to content
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

堆积bar图在设置“缩放区域”工具栏按钮后不能正常显示 #8069

Closed
mismo opened this issue Mar 31, 2018 · 0 comments
Closed

Comments

@mismo
Copy link

mismo commented Mar 31, 2018

One-line summary [问题简述]

堆积bar图本来可以正常显示,在设置“缩放区域”工具栏按钮为显示后,图形无法正常显示。

Version & Environment [版本及环境]

  • ECharts version [ECharts 版本]: 4.0.4
  • Browser version [浏览器类型和版本]: Chrome 65
  • OS Version [操作系统类型和版本]: Windows 10

Expected behaviour [期望结果]

堆积bar图可以显示“缩放区域”工具栏按钮

ECharts option [ECharts配置项]

option = {
  "series" : [ {
    "data" : [ {
      "value" : [ 0, 7927 ]
    }, {
      "value" : [ 1, 5276 ]
    }, {
      "value" : [ 2, 4553 ]
    }, {
      "value" : [ 3, 7681 ]
    } ],
    "name" : "Quantity",
    "stack" : "default",
    "type" : "bar"
  }, {
    "data" : [ {
      "value" : [ 0, 32921.35 ]
    }, {
      "value" : [ 1, 19936.42 ]
    }, {
      "value" : [ 2, 17758.54 ]
    }, {
      "value" : [ 3, 27722.96 ]
    } ],
    "name" : "Freight",
    "stack" : "default",
    "type" : "bar"
  } ],
  "toolbox" : {
    "feature" : {
      "dataZoom" : {
        "show" : true
      }
    }
  },
  "xAxis" : {
    "data" : [ "点心", "调味品", "谷类/麦片", "海鲜" ],
    "type" : "category"
  },
  "yAxis" : {
    "type" : "value"
  }
}

Other comments [其他信息]

001
002

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

No branches or pull requests

2 participants