Report Keychain Expression for Text Color

Good day,

I am new with the reporting module so I have been looking at the forums for a simple solution for changing the text base color on my report data.

I read the post regarding putting a script on the data source to create a color legend but I am not very SQL savy so I tried the following on my keychain expression for text color but doesn't work:

TS_RECT_RECIPE=="0:00:00"?"brighter(light gray)":"black"

This works with the fill color binding:

LOG_NDX!=0?"brighter(light gray)":"white"

Light Gray is a little too dark for me but the color generated with the brighter function is what I would like to end up with. Is there an easy solution or am I going to be learning more about scripting my data source?

If I had the option to chose an RGB right out of the gate I would be looking for "213,213,213"

Thanks!

1 Like

Hello, I will give you my solution just in case. I defined a parameter "TextColor" with the expression color(#,#,#) and then binded to my text's Text Color property in the Property Inspector.

I know it's simple and maybe not what you're looking for :slightly_frowning_face: ... but it worked :grin:

1 Like