You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "eskwisit (via GitHub)" <gi...@apache.org> on 2025/03/27 08:45:56 UTC
[I] [Bug] Serie disappears when swiping tooltip on x-axis [echarts]
eskwisit opened a new issue, #20869:
URL: https://github.com/apache/echarts/issues/20869
### Version
5.6.0
### Link to Minimal Reproduction
n/a
### Steps to Reproduce
I cannot provide proper steps to reproduction as the bug not constant: sometimes it does work, sometimes it does not. The bug occurs on Safari mobile (iOS 18.3.2).
It was working fine until we customised the xAxis tooltip. Also, when debugging from the developer console > network in Google Chrome, I surprisingly found a `blob://xxx` call to get the chart. This I've never seen before. What would generate such request ?
Tooltip config:
```typescript
tooltip: {
trigger: 'axis',
showContent: false,
axisPointer: {
type: 'cross',
},
}
```
xAxis axisPointer value:
```typescript
axisPointer: {
z: 209,
label: {
color: '#fff',
backgroundColor: '#222',
padding: [6, 10],
formatter: ({ value, seriesData }) => {
let data = seriesData[0].value;
data = data ? yAxisDigits(`${data}`, yAxisFormatter) : '—';
return `{data|${data}}\n{value|${value}}`;
},
rich: {
data: {
width: 100,
align: 'center',
fontSize: 14,
fontFamily: 'HelveticaNeue-Medium',
padding: [0, 0, 4, 0],
},
value: {
align: 'center',
},
},
},
}
```
Series default options:
```typescript
series: {
type: 'line',
silent: true,
symbol: 'none',
lineStyle: {
width: 2,
},
connectNulls: true,
animationEasing: 'quadraticInOut',
z: 1,
}
```
### Current Behavior
When swiping over the chart to view tooltip, some of the points from the line chart disappear. Also, there is a `markLine` in the line series that is not affected, it's only the `data`
Before swiping from left to right:

After swiping from left to right:

### Expected Behavior
The points from data series should not be removed.
### Environment
```markdown
- OS: iOS 18.3.2
- Browser: Safari Mobile
- Framework: Angular / Typescript
```
### 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: commits-unsubscribe@echarts.apache.org.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
Re: [I] [Bug] Serie disappears when swiping tooltip on x-axis [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #20869:
URL: https://github.com/apache/echarts/issues/20869#issuecomment-2761904210
cannot reproduce - [Demo](https://echarts.apache.org/examples/en/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWsAeBBDEDOAXMmurGAJ4gCmRA5AMYCGYVA5sAE7m0A0J6AE2aMiAbVoBZGL1i0AKgFcqM2gHUqAlXIAWClQDEOEFQGVmphdFoBdPqViNceAArAI0FhyKp76AF5EAEwADACcdr4ANowARlSR3vy-9MCRnHQAxABmObxJ9jGM9ADWrBzAlgIAwqnpshmBjXm-pCCMAgLurGIAbDywAIzBtvmkWZwAtsyeRAAUSLAAboyRSv14VEZUeAAiwrAAvgCUCAB8xC32KdB4qVQAdGmss8urVOubENt7YIxHANyjeyRKhgWBCX4IWAbLa7YSiYb3V5KQGXUgAenRsHIOHwOwgrAgYDw_RxTn0k2mmwcHCosAm-DwXSBGPREMYUPZsAA_NjcbsCUS8LMAAYAEiQ7IOItJ_IpHCmYE8JzogBQCWiotGwWlgBQcOAiyXCAA-EqlBwAOtAkMiqKabSslAdpZqWgcIi0jPRtIkteDhL6_bAAO4QARgH2DYLBD1alYE6B0ehUDybZpB8YeEwQPw0QYAFljaMzYH0jAZkXIdAAEvFFqCIEwAHJUJQAWgkGggCgm6b9bQ6XTEMdgI8Lo-sLPQ7qnS0deZ8QfjrETsmTqY4tFnBxZO7dST3hwiZPwgfQFGodFtW-nETAwFSkBAZ7IRlYrE2dEc-D70O0wGDGpUw8IgshWDZY2_Fw3A3F9z0oPMGHKPA8BvUhDxndAYS-QgLlIdkxAGABWEdAgAZlIwJx0CAYAA5-gGMiiIY_MAHZ-kCHphljC9EMidxlFjJkQRA181iSPByAmGJUjoaAYEEpJ-OgKgTAoEE4JDMMIyCA9Y2uFT6DAJsFEiSJcLADhxPsRhoAgRUoGgABRRgmWgbpZAARwU
doOGYRsAEloAAeQUMBfwCQYSB3A5_iAA).
Maybe a refresh problem with large data, try with _series.large:true_ and _animation:false_
--
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