echarts icon indicating copy to clipboard operation
echarts copied to clipboard

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

Open ragava28 opened this issue 1 year ago • 3 comments

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

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

image

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

ragava28 avatar Jun 20 '23 01:06 ragava28

+1

finchen avatar Aug 17 '23 01:08 finchen

It would be great if it could be supported. Below is similar expectations before. Someone also asked about it on stackoverflow, but I can’t find the link. https://github.com/apache/echarts/issues/12450

sevenjay avatar Dec 30 '23 15:12 sevenjay

It would be great to see it supported.
A way to tell echarts what the sampling rate is would be to add a interval option to set the threshold value above which the chart should consider a value is missing.

ACayet avatar Apr 17 '24 09:04 ACayet