I am struggling to figure out how to use the Magic Color Rectangle for my application.
Sorry if this has been covered before, I searched but I still can’t figure it out.
This post started to explain things
but I still haven’t been able to figure it out.
What I would like to do:
I have a collection where scores from each question are collected (call this collection “responses”) and they sum into a total score.
I would like to make a rectangle with conditional background color based on the total score.
For instance, if the total score is < 40 then the background is green, if it is between 40-70, yellow, between 70-100 red.
I set up a collection called HEX colors and made three text entries with the HEX codes for green, yellow and red.
I made a relationship between the collection HEX colors and Records, but I’m not totally sure what to do now.
Been a while since I used it.
I would do this… for every possible score have a record in your hex colour collection and store the score field. So for <40 you have 39 rows, all green. And so on.
Ouch. I may just go with 3 rectangles or circles of different background colors and have conditional visibility.
Is there any way to make it more obvious when different items are “snapped” to each other? I can never tell.
Yeah 3 conditions will work.
In a list you may get some flashing as the items are loaded.
The advantage of pulling it from a table is you can have a gradient of colour intensity too. Use ChatGPT to output the colours in a table format then import a CSV.