for an order overview I have a list of multiple orders with different priorities. They reach from -10 => very high priority to +20 => low priority. Based on this priority I want to return a Gradient brush Color dynamically.
For example:
- From -10 to -0.5 it should it fade from darkred into orange
- From -0.5 to +0.5 it should fade from orange into yellow into lime
- From +0.5 to +10 it should fade from lime to green
I have never made this before and absolutly no clue how to solve this. Even if you don't have a complete solution for me it would be very nice to give me a hint.
Regards Johannes