Showing results for 
Search instead for 
Did you mean: 

color for each item ring

Is it possible to assign a different color for each item in a ring control ? See what I start in attached file.
0 Kudos
Message 1 of 7


Depending on what is acceptable you could use a Text & Picture ring to assign each item a color -- this would not appear on the text itself, however.  You could also make your ring come out to a case structure that contained a property node and correct properties for each case (i.e. case Yellow sets the background property yellow, etc.).  See the example I added to yours.

Message Edited by NI David on 06-28-2007 11:27 AM

David C
Applications Engineering
0 Kudos
Message 2 of 7
I would suggest using a Text&Pict ring instead of a typical ring.  You can then make the picture the color you want and the text you want.  To make it look like what you want customize the control to make the background of the text transparent and then overlay it on top of the picture.
0 Kudos
Message 3 of 7


I have the version 8.0 can you save your Vi for my version.


Message 4 of 7
Attached is the LV 8.0 version.  I also added a control as described by Evan because I hadn't thought of it originally, but it is probably the best option -- it places text on color and doesn't require a loop to update.
David C
Applications Engineering
Download All
0 Kudos
Message 5 of 7

If you setup an array of different colors for your Ring, you can change the colors on the fly. This does require that your program either uses a loop or an event structure, but that is pretty standard practice anyway.

0 Kudos
Message 6 of 7
I can't look at the attached examples, but you can have a look at the example I did way back in this thread.

Try to take over the world!
0 Kudos
Message 7 of 7