More than 3 compute...
 
Notifications
Clear all

More than 3 computed colors? [Help Needeed]

1 Posts
1 Users
0 Likes
185 Views
(@verseaux)
New Member
Joined: 5 months ago
Posts: 1
Topic starter  

Hello Everybody,

 

I am trying to put colors on my speed text indicator, i've succeed with the property  [SpeedKmh] and then setting up the computed colors.

 

My problem is there are only 3 colors than we can choose, one on the start, one on the middle and one in the end, i'd like to put 5 or 6 others colors to do something like this :

- From 0 to 60 kmh = text in blue

- From 70 to 130 kmh = text in green

- From 140 to 170 kmh = text in yellow

- From 180 to 200 kmh = text in orange

- From 210 to 250 = Text in red

- From 250 to 350 = Text in pink

And idealy make them change gradually and not hard thresholds, same than with the computed colors.

 

It is possible with some script to put more than 3 colors?

 

I make this script but its very basic and unfortunetly i can't put more than three colors, and its not changing gradually :

if([SpeedKmh]<100,'Blue',
if([SpeedKmh]>150,'Red','Green'))

 

I am looking for something like this in the video, going grom blue to red :

https://m.youtube.com/watch?v=Is3kazW_0ok&pp=ygUNU2ltaHViIHNwZWVkIA%3D%3D

 

Hope you can help me on this one, thanks in advance,

 

François

 

 

This topic was modified 5 months ago by verseaux

   
Quote
Share: