You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "AndreyPatseiko (via GitHub)" <gi...@apache.org> on 2023/11/16 15:09:57 UTC
[I] [Bug] Big heat map stop present data when dataZoom selected small part. [echarts]
AndreyPatseiko opened a new issue, #19306:
URL: https://github.com/apache/echarts/issues/19306
### Version
5.4.3
### Link to Minimal Reproduction
https://codesandbox.io/s/heatmap-forked-cnhhc7?file=/index.js
### Steps to Reproduce
1) Open example link for reproduce.
2) Change data Zoom (scroll mouse wheel, or do it manually) to range for a couple days.
### Current Behavior
Data in some charts disappeared.
But when you try to hover any elements, they items appears and tooltip presented.

### Expected Behavior
Heatmap data should present always (for any dataZoom value)
### Environment
```markdown
- OS: Window 10
- Browser: Chrome
- Framework: lit
```
### 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] Big heat map stop present data when dataZoom selected small part. [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #19306: [Bug] Big heat map stop present data when dataZoom selected small part.
URL: https://github.com/apache/echarts/issues/19306
--
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
Re: [I] [Bug] Big heat map stop present data when dataZoom selected small part. [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #19306:
URL: https://github.com/apache/echarts/issues/19306#issuecomment-1815253505
hm, hardly a <ins>**Minimal**</ins> Reproduction code - it has 160,000+ lines...
Agree, the "hidden" heatmaps are there.
Alternative designs might help. For instance changing axes types
```
yAxis: [ {type: 'value', gridIndex: 0 }, ...],
xAxis: [ {type: 'time', gridIndex: 0 }, ...]
```
This will **solve** the _dataZoom_ problem, but the X axes won't be aligned. So next step could be to preprocess time data and **synchronize** it across all ten data inputs. Then, aligned X-axes could be tied together with
```axisPointer: { link: [{ xAxisIndex: 'all' }]}```.
--
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
Re: [I] [Bug] Big heat map stop present data when dataZoom selected small part. [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19306:
URL: https://github.com/apache/echarts/issues/19306#issuecomment-3568335838
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
--
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
Re: [I] [Bug] Big heat map stop present data when dataZoom selected small part. [echarts]
Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #19306:
URL: https://github.com/apache/echarts/issues/19306#issuecomment-1816902241
Keep in mind that when xAxis has _data_, it makes it automatically type '**category**', regardless of the explicit type set ('time').
That's why my example did not include _data_.
I think you will like this solution:
```
...
xAxis: [
{ type: 'time', gridIndex: 0 },
{ type: 'time', gridIndex: 1 },
{ type: 'time', gridIndex: 2 },
{ type: 'time', gridIndex: 3 }
],
tooltip:{
trigger: 'axis',
formatter: (x) => {
txt= x[0].value[0].toLocaleString()+'<br>';
x.map(p => txt += p.value[1] +' '+ p.marker +' '+ p.value[2] +'<br>');
return txt;
},
axisPointer: { link: [{ xAxisIndex: 'all' }]}
},
series: [
{ type: 'scatter', symbolSize:2, large:true, ...},
{ type: 'scatter', symbolSize:2, large:true, ...}, ...
]
```
Switching series from heatmap to **scatter** makes them much more responsive.
NB: ECharts [editor](https://echarts.apache.org/examples/en/editor.html) works much faster than codesandbox.io.
Please copy the code there to see the difference.
--
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
Re: [I] [Bug] Big heat map stop present data when dataZoom selected small part. [echarts]
Posted by "AndreyPatseiko (via GitHub)" <gi...@apache.org>.
AndreyPatseiko commented on issue #19306:
URL: https://github.com/apache/echarts/issues/19306#issuecomment-1816021141
Thanks for fast response.
I was simplified example and switched axis how you mention. But got the same result - hidden items.😔

--
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
Re: [I] [Bug] Big heat map stop present data when dataZoom selected small part. [echarts]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19306:
URL: https://github.com/apache/echarts/issues/19306#issuecomment-3539353058
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
--
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