apache / apache/echarts

[Bug] Heatmap with time (x-axis) and value (y-axis) axies is not working correctly

Open
#18,782 5 comments 1 reaction 0 assignees View on GitHub
bug en pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### Version

5.4.2

### Link to Minimal Reproduction

https://codepen.io/ragava28/pen/XWyKaYY?editors=0011

### Steps to Reproduce

I am trying to plot heatmap with time as x-axis type and value as y-axis type , with real time data every few seconds. but the chart is not showing Square/rectangle correctly. it working correctly only if we have category axis, but my need is value & time type axies.

Any other way to achieve this behavior ?Any suggestions on this would be helpful.

### Current Behavior

Instead of showing Square/Rectangle for each point , it is showing thin line .
![image](https://github.com/apache/echarts/assets/14935973/9cd16116-f64c-469a-801c-94107cfec0a9)

### Expected Behavior

it should show Square/rectangle for each point in the chart, closely expected solution is in sample it self.
[https://codepen.io/ragava28/pen/XWyKaYY?editors=0011](url)

![image](https://github.com/apache/echarts/assets/14935973/cd7ac3f7-558a-4ffe-9db6-c614d7d95d02)

### Environment

```markdown
- OS:
- Browser:
- Framework:
```

### Any additional comments?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.