You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2022/04/07 07:01:30 UTC
[GitHub] [echarts] jonsploder opened a new issue, #16846: [Bug] Non interactive charts on mobile
jonsploder opened a new issue, #16846:
URL: https://github.com/apache/echarts/issues/16846
### Version
5.1.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
Select options;
```
{
animation: false,
title: {
text: total,
textStyle: {
fontSize: 28,
},
subtextStyle: {
fontSize: 18
},
textAlign: 'center',
subtext: 'Total',
left: '24%',
top: '36%'
},
tooltip: {
trigger: 'item'
},
legend: {
orient: 'vertical',
left: '50%',
top: 'middle',
icon: 'circle',
selectedMode: false,
align: 'left',
formatter: name => {
const value = this._data.filter(row => row.name === name)[0].value;
if (value > 100) {
return `${value}\n${name}`;
}
return `${value} ${name}`;
},
textStyle: {
fontSize: 18,
// lineHeight: 24
},
itemGap: 20
},
color: ['#8AAD70', '#D7A675', '#A38874'],
series: [
{
type: 'pie',
center: ['25%', '50%'],
radius: ['60%', '85%'],
avoidLabelOverlap: true,
data: this._data,
emphasis: {
itemStyle: {
shadowBlur: 10,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)'
}
},
itemStyle: {
normal: {
label: {
show: false,
},
},
}
}
]
};
```
### Current Behavior
I have a pie chart which is selectable on iOS which makes it impossible to scroll if the user clicks on the chart. E.g. having a finger on the screen trying to scroll the page down is snatched up by echarts.
### Expected Behavior
I would like to make the chart not interactable - just a static image, no clicking into it so a user can scroll down normally.
### Environment
```markdown
- OS: iOS15.3.1
- Browser: safari
- Framework: angular
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@echarts.apache.org
For additional commands, e-mail: dev-help@echarts.apache.org
[GitHub] [echarts] jonsploder commented on issue #16846: [Bug] Non interactive charts on mobile
Posted by GitBox <gi...@apache.org>.
jonsploder commented on issue #16846:
URL: https://github.com/apache/echarts/issues/16846#issuecomment-1094526780
This was an issue with the interaction with HammerJS + Echarts. I've fixed it from Hammer side (tap event).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org
[GitHub] [echarts] jonsploder closed issue #16846: [Bug] Non interactive charts on mobile
Posted by GitBox <gi...@apache.org>.
jonsploder closed issue #16846: [Bug] Non interactive charts on mobile
URL: https://github.com/apache/echarts/issues/16846
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org