Possible to lock visualisation colours Via SQL?

I have a few questions made in SQL that are visualised in pie charts, and even after i change the colours in the visualisation settings they randomly change to different colours when the number figures in the charts change over time. is there a way in sql to lock the colours?

only with our SDK embedding