HanSolo/charts

HeatMap with solid color

Opened this issue · 5 comments

Hello, using the heatmap when I set all dots equivalent with single color, I got some view artifact of horizontal waves.
For example if all dots of heat map are red ("0xff0a00ff")

изображение

I fixed the color and rangeZ bounds to be sure, but no success. I'd like to get a solid color among all dots without artifacts

I‘m currently on travel, so I won’t have a lot of time to look into the issues but if I remember right there should be a spacing property that defines the spacing between the dots. Not sure if I made it accessible but will check that and will come back to you.

useSpacer affects vertical spacer between columns as I undersand.

I did some research. I'm using a matrix about 100 columns and 256 rows and green background for contrast.

So I change the row counts:

изображение
256 rows

изображение
100 rows

изображение
50 rows

изображение
10 rows

so the "horizontal waves" are view artifacts of "row squashing"

I have the same issues when using other libraries, it depends on fractional values and cumulative error of rounding

@HanSolo any ideas to workaround?

Sorry, at the moment I simply don't have enough time to dig deeper into this :(