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

7qhs6swi  于 5个月前  发布在  Echarts
关注(0)|答案(3)|浏览(107)

Version

5.4.2

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 .

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

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

jm2pwxwz

jm2pwxwz2#

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.
#12450

ctrmrzij

ctrmrzij3#

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.

相关问题