echarts icon indicating copy to clipboard operation
echarts copied to clipboard

3.7.2版本之后,设置interval:0之后,第一个和最后一个标签不显示;然后设置showminlabel和showmaxlabel,但是第二个label和倒数第二个label又不显示了

Open raonian opened this issue 8 years ago • 5 comments

One-line summary [问题简述]

如图: 1、当设置interval:0时希望所有label显示出来,但文字过长时就隐藏了minlabel和maxlabel。 image

2、当显示设置showminlabel与showmaxlabel,则第二个label与倒数第二个label又不显示了。 image

Version & Environment [版本及环境]

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

3.7.1版本是正常的,3.7.2开始就出现此问题

Expected behaviour [期望结果]

所有label都能显示

ECharts option [ECharts配置项]

option = {

}

Other comments [其他信息]

raonian avatar Apr 03 '18 10:04 raonian

我也遇到这个问题,查了记录,3.7.1 -> 3.7.2对这部分做了修改,不知道是不是bug

https://github.com/apache/incubator-echarts/commit/782a4ebbf1e8bd320d9e36f9d99c89599ec286d6#diff-5db3b822683b0760d08aefcaabe25355R647

rickysang avatar Apr 13 '18 07:04 rickysang

One-line summary [问题简述]

如图: 1、当设置interval:0时希望所有label显示出来,但文字过长时就隐藏了minlabel和maxlabel。 image

2、当显示设置showminlabel与showmaxlabel,则第二个label与倒数第二个label又不显示了。 image

Version & Environment [版本及环境]

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

3.7.1版本是正常的,3.7.2开始就出现此问题

Expected behaviour [期望结果]

所有label都能显示

ECharts option [ECharts配置项]

option = {

}

Other comments [其他信息]

所以解决了吗

Eddie-Fannie avatar Mar 11 '19 10:03 Eddie-Fannie

4.2.0 这样的配置第二个Label显示不出,4.2.1 无该问题

zitudu avatar Jul 31 '19 06:07 zitudu

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

github-actions[bot] avatar Sep 04 '21 21:09 github-actions[bot]

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

github-actions[bot] avatar Sep 11 '21 21:09 github-actions[bot]