Second chart shows a line chart and how the data points line up with the x-axis ticks as they should.
Last chart is an attempt to use xaxis: { type: 'category', tickPlacement: 'on' } as a workaround, but the tick placement does not work and the ticks are still drawn in between the data points.
Description
Heatmap x-axis ticks do not line up with the rectangles being drawn when
xaxis: { type: 'datetime' }
is set.Steps to Reproduce
xaxis: { type: 'datetime' }
.Expected Behavior
Heatmap rectangle widths should line up with the x-axis tick gaps.
Actual Behavior
Heatmap rectangles do not line up with the x-axis ticks.
Screenshots
Reproduction Link
https://codesandbox.io/s/crazy-chaum-2wjgzj?file=/src/App.js
First chart shows the problem described above.
Second chart shows a line chart and how the data points line up with the x-axis ticks as they should.
Last chart is an attempt to use
xaxis: { type: 'category', tickPlacement: 'on' }
as a workaround, but the tick placement does not work and the ticks are still drawn in between the data points.