How to use addon>color by values

A

Angus

I tried and create the legend, however, I didn't see the shapes are colored
according to legend, why?

One more question, if I have 2 different values for the same label (e.g.,
two manufacturers to produce same machine), how to show it with addon>color
by values. Say, can I click on "red" at legend to make the machine in red,
and click on "yellow" to make the same machine in yellow?
 
M

Mark Nelson [MS]

Do you have Custom Properties with data on your shapes? What property did
you choose in the Color by Value dialog?
 
A

Angus

I add a property, say "delivery place", and want to color those with delivery
place A as red, and delivery place B as yellow. And I choose "delivery place"
in the Color by Value dialog, but the shapes were not colored.

BTW, another question, if some shapes could be delivered to A or B, how to
custom property in this case, and how to use "color by value" as legend.
 
M

Mark Nelson [MS]

I would try a couple things here:

1) Can you manually color your shapes red and yellow? Some shapes have
formatting protection or have no fillable region.

2) Did you choose to color by Unique Values? This is the method that works
for text values.

3) Do the values A & B show up in the Color by Value dialog? I believe you
have to have at least one example of each in your drawing before coloring.
Also make sure that you choose All Shapes, rather than All Selected Shapes,
in the dialog.

4) Can you verify the properties are in the shape by selecting it and
choosing Shape > Custom Properties from the menu?

If all else fails, make a plain rectangle and add a custom property to it
just to test the feature out.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 
A

Angus

I made it. Thanks.

If i have a shape which could be delivered in A and B, how to make a legend
for this? That means the color could be switched to two colors?
 
M

Mark Nelson [MS]

The Color By Value feature would have to be rerun / refreshed. If you want
this behavior automatically, you might want to set up the logic yourself.

I'm not sure whether you are making the shapes you intend to use, but if you
are just put a formula into the FillForegnd cell of the shapes.

FillForegnd =
IF(STRSAME(PROP.mycustompropname,"A")=True,RGB(255,0,0),IF(STRSAME(PROP.mycustompropname,"B")=True,RGB(0,255,0),RGB(255,255,255)))

Put the name of your custom property and your RGB colors into the formula.
The final color is the default if the property is neither A nor B.

--
Mark Nelson
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top