We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<div class="rotate"> <div class="echarts-container" ref="echartsContainer"> </div> </div>
.rotate{ transform: rotate(90deg) }
即将echarts组件的父元素旋转90度,此时tooltip不能正常显示,并且legends不能点击(移动端有该问题) pc端变现正常。
能像不旋转时一样正常显示tooltip以及正常操作len=gends
option ={ baseOption: { title: { text: '' }, color: colors, tooltip: { show:true, trigger: 'axis', confine: false, //若要使tooltip显示完全,外层不要设置overflow:hidden position:['0', '0'] }, legend: { // bottom:20, //width:400, left:0, bottom:0, itemWidth: 5, itemHeight:5, //data:['邮件营销','联盟广告','视频广告','直接访问','搜索引擎'] data:[''] }, grid:{ // show:true, left: 40, // right:0, top: '10%', bottom: '15%', // right: 40, // width:'100%', // borderColor: 'rgba(255, 0, 0, 1)', containLabel: true }, toolbox: { feature: { saveAsImage: {} } }, xAxis: { type: 'category', boundaryGap: true, interval: 0, data: [], axisLabel: { color:'#333', }, axisLine: { show: false, lineStyle: { color: 'rgba(204,204,204,0.2)' } }, axisTick: { show: false } }, yAxis: { type: 'value', splitLine:false, axisLabel: { color:'#333', }, axisLine: { show: false, lineStyle: { color: 'rgba(204,204,204,0.2)' } }, axisTick:{ show: false }, splitLine: { lineStyle: { color: 'rgba(204,204,204,0.2)' } }, }, series: [{ name:'', type:'line', stack: '总量', data:[] }, { name:'', type:'line', stack: '', data:[] } ] },// baseOption media: [{ query: { }, option: { } }] }
The text was updated successfully, but these errors were encountered:
啥时候能解决呢?
Sorry, something went wrong.
Support mouse event in iOS when css transform used.
cd20afd
fix apache/echarts#9434 fix apache/echarts#8326 fix apache/echarts#5009 fix apache/echarts#5921 close #463
ecomfe/zrender@06d48dd
No branches or pull requests
One-line summary [问题简述]
即将echarts组件的父元素旋转90度,此时tooltip不能正常显示,并且legends不能点击(移动端有该问题)
pc端变现正常。
Version & Environment [版本及环境]
Expected behaviour [期望结果]
能像不旋转时一样正常显示tooltip以及正常操作len=gends
ECharts option [ECharts配置项]
Other comments [其他信息]
The text was updated successfully, but these errors were encountered: