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

数据视图建议添加滚动条 #3591

Closed
antorman opened this issue Jul 9, 2016 · 3 comments
Closed

数据视图建议添加滚动条 #3591

antorman opened this issue Jul 9, 2016 · 3 comments

Comments

@antorman
Copy link

antorman commented Jul 9, 2016

问题简述 (One-line summary)

数据量比较多的情况下,点击数据视图,数据显示不全,建议数据视图表格DIV 添加滚动条

版本及环境 (Version & Environment)

  • ECharts 版本 (ECharts version):3.0
  • 浏览器类型和版本 (Browser version):chrome
  • 操作系统类型和版本 (OS Version):win7

重现步骤 (Steps to reproduce)

1.点击数据视图

期望结果 (Expected behaviour)

源码echarts.js 第 60935行 viewMain.style.cssText = 'display:block;width:100%;overflow:hidden;';
修改为: viewMain.style.cssText = 'display:block;width:100%;overflow:auto;';

可能哪里有问题 (What went wrong)

ECharts配置项 (ECharts option)

option = {

}

其他信息 (Other comments)

@onionch
Copy link

onionch commented Aug 2, 2016

没有滚动条了

@mirari
Copy link

mirari commented Feb 4, 2017

我也遇到了同样问题,这么久居然还在……
默认的数据视图使用了textarea自带滚动条,所以父节点div禁用了滚动条。但是现在我想用table展现数据时,却发现超出视域的内容没法显示了。虽然这个功能用得不多,但真碰上了还是很纠结啊,不想在源码上改。

@pissang pissang closed this as completed in 1655379 Feb 4, 2017
@mirari
Copy link

mirari commented Feb 4, 2017

已解决,套一层div就好了
<div style="width: 100%;height: 100%;overflow: auto"></div>

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

4 participants