charts icon indicating copy to clipboard operation
charts copied to clipboard

HeatMap with solid color

Open permiakover opened this issue 2 years ago • 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

permiakover avatar Oct 12 '22 09:10 permiakover

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.

HanSolo avatar Oct 12 '22 09:10 HanSolo

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"

permiakover avatar Oct 12 '22 10:10 permiakover

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

EzzPress avatar May 28 '23 08:05 EzzPress

@HanSolo any ideas to workaround?

EzzPress avatar Jun 12 '23 10:06 EzzPress

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

HanSolo avatar Jun 12 '23 10:06 HanSolo