-
Notifications
You must be signed in to change notification settings - Fork 19.8k
Truncated data when resizing small #6855
Copy link
Copy link
Closed
Labels
staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.
Description
One-line summary [问题简述]
When I resize a chart, the data (shown next to the axes) that points to the graphic is being truncated. This happens with small width.
Version & Environment [版本及环境]
- ECharts version [ECharts 版本]: 3.7.1
- Browser version [浏览器类型和版本]: Chrome Versión 61.0.3163.100 (Build oficial) (64 bits)
- OS Version [操作系统类型和版本]: Windows 10
Expected behaviour [期望结果]
The chart should resize correctly, showing to the user the entire data. Screenshot attached
ECharts option [ECharts配置项]
option ={
"title": {
"text": "dqwdqqdwqdwqdwq",
"left": "left",
"top": "top",
"textStyle": {
"fontFamily": "roboto",
"fontSize": 16,
"color": "#FFA901"
}
},
"grid": {
"show": true
},
"tooltip": {
"showContent": true,
"trigger": "item"
},
"axisPointer": {
"show": true,
"type": "line",
"snap": true
},
"toolbox": {
"itemSize": 10,
"itemGap": 10,
"showTitle": true,
"left": "right",
"top": "bottom",
"show": true,
"feature": {
"mark": {
"show": true
},
"dataZoom": {
"yAxisIndex": "none"
},
"magicType": {
"show": true,
"type": ["line",
"bar"]
},
"restore": {
"show": true
},
"saveAsImage": {
"show": true
}
}
},
"calculable": true,
"xAxis": [{
"type": "category",
"data": ["Pedro",
"MarÃa",
"Lucas",
"José",
"Elvira",
"Antonio H",
"Antonio",
"Ana"]
}],
"yAxis": [{
"type": "value",
"nameTextStyle": {
"fontSize": 8
}
}],
"series": [{
"type": "bar",
"data": [39889180,
9030902,
9276974,
9458339,
10458510,
11546903,
9358735,
9698892]
}]
}Other comments [其他信息]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
staleInactive for a long time. Will be closed in 7 days.Inactive for a long time. Will be closed in 7 days.