3

I wanna dynamically change the placement offset of a label's background polygon. The hover text from that menu entry tells me: "Expected input: double coord [X,Y] as <= 0.0 =>". I have no clue what is meant by that and i am tired of messing around so could please someone replace appropriately the ? in the following expression:

CASE WHEN "HELP" > 9000 THEN ???? END

To make it more thrilling: i am also about to deal with negative decimal numbers here.

4

Found it!

case when  "arrow"  < 0 then '-5,0'
when  "arrow"  > 0 then '5,0' end

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.