All,
I'm currently using Format Transformation to inputs as follows:
40->100
30->75
20->50
10->25
Is there a way I can add color to this also? Can two Transformations be used at the same time?
Thanks,
C
All,
I'm currently using Format Transformation to inputs as follows:
40->100
30->75
20->50
10->25
Is there a way I can add color to this also? Can two Transformations be used at the same time?
Thanks,
C
This isn't a format operation, its a scaling operation. So why are you using a format transform? Even if it will only ever be these 4 values, it seems to me that a Map transform is much better suited to the task.
You can stack transforms, just remember that order is important.
Whenever I get to the place where I'm considering stacking transforms, then I always take a step back.
Where are these values coming from? Is it always 1 of these four values? What are you trying to accomplish here?
lrose,
Thanks for your reply. These values are coming from a gauge with a signal. The values are coming at 0,1,2,3, and 4.
I'm displaying this as a progress bar. If the value comes in as 4. I want it to display 100% full and for the bar to be green.
If the value comes in as 3. I want it to display 75% full and for the bar to be yellow.
Etc.
Do you have any pointers?
Thanks again,
C
Sure.
Progress.props.max
to 4Progress.props.value
on Progress.props.bar.color
Sample:
Is this Perspective or Vision. Please edit your original question title and add the appropriate tag.