Hello,
I have a table where I store “Machine states” and one of the fields is the color (stored as a string)
I tried to bind the style property of a component but the color columns is loaded as a string and not as a color.
I even tried that the result of the query to be something like this:
Nivel,“1”,“color(255,0,0,255)”
Nivel,“2”,“color(255,140,0,255)”
Nivel,“3”,“color(255,255,0,255)”
Nivel,“4”,“color(0,217,0,255)”
Nivel,“5”,“color(255,255,0,255)”
Nivel,“6”,“color(255,0,0,255)”
But it still interprets “color(255,0,0,255)” as a string
Is it possible to do this?
Thank you