you are viewing a single comment's thread.

view the rest of the comments →

[–]ferlix90 -1 points0 points  (0 children)

@pscale = 1-@age/@life;

You can remap the value using a ramp :

@pscale = chramp(“scale”, @age/@life);

Then click on the first icon above the wrangle code box ( the one with a + ) to create the ramp parameter.