3

I'm trying to apply a rule-based approach to my data that considers both the positive or negative value and the value per se (from -66 to 77). I was able to apply a rule for negatives/positives (red and green, respectively), but how can I add the rule for symbol size considering the size of the number? (e.g., a value of 10 would have a bigger point symbol size than a value of 5).

What I did so far:

negative: "diff" < 0 (single red color)
positive: "diff" > 0 (single green color)
neutral: "diff" = 0 (single purple color)

I'm trying to do this for a point vector (I can't upload an image here; the server is bugged)

6
  • What kind of vector data are we talking about?
    – Erik
    Commented Oct 13, 2022 at 13:00
  • Sorry, I'll edit with more information
    – hiperhiper
    Commented Oct 13, 2022 at 13:01
  • @Erik Ok, I added more info. Unfortunately, I cannot add a screenshot. StackExchange is not allowing me.
    – hiperhiper
    Commented Oct 13, 2022 at 13:07
  • 1
    Have you had a look at data-defined override?
    – Erik
    Commented Oct 13, 2022 at 13:09
  • I did not. How can I edit it on the size option to do what I'm asking? (i.e., bigger values = bigger symbol sizes)
    – hiperhiper
    Commented Oct 13, 2022 at 13:17

1 Answer 1

2

Ok, after @Erik comment I got it pretty easy. All I had to do was to double click each of my point vector labels -> go to Size section -> click on the data defined override -> select diff (the column I'll be using for size labeling) and that's it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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