Positive bars can't have two colours
Bug #1959617 reported by
Carlo Santucci
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
In Progress
|
Low
|
Carlo Santucci |
Bug Description
Assme you have this cabview control:
Gauge (
Type ( BRAKE_PIPE GAUGE )
Position ( 531.25 295.25 8 19 )
Area ( 0 0 11 11 )
Graphic ( ../../common.
Style ( SOLID )
ScaleRange ( 0 5 )
ZeroPos ( 0 )
PositiveColour ( 2
ControlColour ( 202 185 0 )
SwitchVal ( 4.9 )
ControlColour ( 0 73 240 )
)
NegativeColour ( 0 )
DecreaseColour ( 0 )
Orientation ( 1 )
DirIncrease ( 1 )
Units ( BAR )
)
The second ControlColour won't show up. If however the ScaleRange is modified to
ScaleRange ( 0.0001 5 )
it will correctly show up.