question

Pinakin K avatar image
0 Likes"
Pinakin K asked Logan Gold edited

Change Value Color in Model Documentation

Hello,

i want to change the color of the value, "B%" in the image, when the value goes below a set value. Is it possible to do this?

example : it will change to green when the value is >50% and red when the value is <50%

1672782640977.png

FlexSim 20.2.3
model documentation
1672782640977.png (4.1 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Logan Gold edited

Here is an example model of changing text color based on value:

ModelDocColorDemo.fsm

ModelDocColorDemo_22.0.fsm (FlexSim 22.0)

I used the code button beneath the text editor to edit the html directly. That makes it easier (in my opinion) to insert flexscript in the correct places.


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.