Conditional Color

's Avatar

marios.maraziotis

11 Jan, 2014 01:14 AM

Hi I am working on NodeBox 3 and I am in love , i just work for three days on it and it is just great.
I am trying to find how to color ellipses based on condition that if the index is below 50 then color red else color green?
Is that possible?
Thank you in advance.
Marios

  1. 1 Posted by anonymous on 13 Jan, 2014 02:35 PM

    anonymous's Avatar

    I think it can be made with less nodes, but I hope it helps.

  2. Support Staff 2 Posted by lievenmenschaer... on 14 Jan, 2014 11:41 AM

    lievenmenschaert's Avatar

    You can not refer to the index, but you can create a list of numbers matching your index. I've included an example that does that and that can be altered to complete other similar conditions.

    In this case we have an amount of ellipses (160) where the first 50 are colored red, the other set colored green.

    You could also have a look at the compare example in the examples browser under lists.

  3. lievenmenschaert closed this discussion on 14 Jan, 2014 11:41 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Apr, 2024 07:54 PM
19 Apr, 2024 04:41 AM
16 Apr, 2024 06:18 PM
16 Apr, 2024 04:23 AM
08 Apr, 2024 01:28 AM

 

07 Apr, 2024 11:50 PM
05 Apr, 2024 11:47 PM
05 Apr, 2024 12:30 AM
25 Mar, 2024 08:48 PM
14 Mar, 2024 07:40 PM
14 Mar, 2024 07:38 PM