[Ma...] Posted May 7 Share Posted May 7 Hello, I have to make a personalized check deviation label with background color with automatic color (green if it's in tolerance, yellow for warning and red if it's out of tolerance. This is possibile if I select the tolerance legend, but if I want to use a normal legend type, I am not able to do this. In substance: I want to use a dynamic background color on a label using the tolerance, but without using the tolerance legend. Anyone can help me? Link to comment Share on other sites More sharing options...
[Na...] Posted May 28 Share Posted May 28 Hi Marco, you can set the background color to dynamic -> user defined: Nanno Link to comment Share on other sites More sharing options...
[Ma...] Posted May 29 Author Share Posted May 29 Hi Nanno, I tried with the code shown in the images, but I am wrong with something, I think. I have the dimension 10.85±0.075 and I want that if the result is between ±0.075 the background color become green, otherwise it become red. Where am I wrong? Link to comment Share on other sites More sharing options...
[Mi...] Posted May 29 Share Posted May 29 You can try to indent the lines starting with "return" with a leading tab character. Also use "else:" with a colon instead of just "else". Link to comment Share on other sites More sharing options...
[Ma...] Posted May 29 Author Share Posted May 29 Wonderful, it works! Thank you very much! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in