Comments (3)
完整代码看看?echarts.init()的实例resize,实例自己所属的控件才会有效
from echarts.
var lineChart = echarts.init(doc.getElementById('main-chart'));
lineChart.setOption({
dataZoom: {
show: true,
realtime: true,
y: 36,
height: 16,
backgroundColor: 'rgba(221,160,221,0.5)',
dataBackgroundColor: 'rgba(138,43,226,0.5)',
fillerColor: 'rgba(38,143,26,0.6)',
handleColor: 'rgba(128,43,16,0.8)',
start: 0,
end: 60
},
// ... others option
});
window.onresize = function() {
lineChart.resize();
};
from echarts.
谢谢!bug and fixed~
from echarts.
Related Issues (20)
- [Feature] 汇总表中自定义合计的算法 HOT 2
- [Feature] 在Echarts图标的表格/标题中添加上标/下标 HOT 3
- boxplot箱体超限 HOT 4
- [Bug] After upgrading to 5.5.0, the x-axis overlaps HOT 3
- 使用datazoom请求数据生成新图表后,新图表中无法使用reset按钮怎么办 HOT 1
- Multi data Area Chart HOT 1
- [Bug] dataset decals HOT 5
- [Bug] Using Candlestick's zoom in vue3 will generate an error and the zoom function cannot be used normally. HOT 2
- [Question] 在title中应用rich富文本标签失败 HOT 2
- [Bug] Vue3 + uniapp + 移动端H5 设置 dataZoom 属性后不生效 (type: 'inside'; // 水平滑动 start;end;)都不生效 HOT 2
- [Bug] Brush selection - missing most points after progressive re-render HOT 11
- [Feature] Is there any copyright restriction on the China map in your source code? HOT 1
- [Bug] Radar line under area
- [Feature] Tooltips on line series - also show on line segments HOT 3
- minMargin 的用法在文档里面为什么搜不到? HOT 2
- [Feature] Make sankey diagram dragable and be able to zoom in/out HOT 1
- xAxis.axisLabel. formatter渲染时会运行两遍
- The picture size of series.tree.symbol is wrong in svg render,but normal in canvas render.(svg渲染模式下树图节点图片尺寸被压缩) HOT 2
- [Feature] Implementing examples from library to knime HOT 1
- [Feature] graphic组件如何超出坐标系自动隐藏
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from echarts.