Set Text DataGraphic Transparency

C

CRaSH

Hi there,

I have created a bunch of custom timeline milestone shape masters, that each
contain a text data graphic.

I need to set the transparency value of the text data graphic based,
ideally, on the value of a datafield called _VisDM_Pet_Type that exists in
the parent (or as a fallback, the actual text displayed in the data graphic.

Ideal example:

If _VisDM_Pet_Type Value = "100"
Transparency=100%
If _VisDM_Pet_Type Value = "0"
Transparency = 0%

Fallback example:
if the data graphic text value (User.ValueText) is "Dog", Transparency=100%,
if it's "Cat", Transparency=0%.

For love nor money, I can't get this to work - I'm guessing that I'm not
calling the data from other sheets properly, but I thought that the IF
statement should be really straight forward. There seems to be 3 or 4 places
(seperate sheets) where the transparency could be set.

Please help.
 
P

Paul Herber

Hi there,

I have created a bunch of custom timeline milestone shape masters, that each
contain a text data graphic.

I need to set the transparency value of the text data graphic based,
ideally, on the value of a datafield called _VisDM_Pet_Type that exists in
the parent (or as a fallback, the actual text displayed in the data graphic.

Ideal example:

If _VisDM_Pet_Type Value = "100"
Transparency=100%
If _VisDM_Pet_Type Value = "0"
Transparency = 0%

Fallback example:
if the data graphic text value (User.ValueText) is "Dog", Transparency=100%,
if it's "Cat", Transparency=0%.

For love nor money, I can't get this to work - I'm guessing that I'm not
calling the data from other sheets properly, but I thought that the IF
statement should be really straight forward. There seems to be 3 or 4 places
(seperate sheets) where the transparency could be set.

Is there such a thing as DataGraphics transparency? I can find no
reference to it.
 
C

CRaSH

G'day Paul,
using the ShapeSheet of the Data Graphic Text Callout, we can set
Transparency values for Lines, Fills and Text. If I set this any of these
values to an explicit value, the transparency value is set accordingly. That
definately works. I can even use an IF statement to drive the value, so long
as the named reference value is contained within the Data Graphics
ShapeSheet.

What I don't seem to be able to do is set the value using an IF statement,
if the named reference need to come from a different ShapeSheet contained
within the Master.
 
P

Paul Herber

G'day Paul,
using the ShapeSheet of the Data Graphic Text Callout, we can set
Transparency values for Lines, Fills and Text. If I set this any of these
values to an explicit value, the transparency value is set accordingly. That
definately works. I can even use an IF statement to drive the value, so long
as the named reference value is contained within the Data Graphics
ShapeSheet.

Well, I can't even get transparency to work on the data graphic at all
so I'm a way behind you yet ! You can set it in the dialog but it
doesn't actually do anything when do press Apply or OK.
 
W

WapperDude

The simple answer to referencing some other shapesheet is to use the
construct Sheet.xy!User.ValueText. Where Sheet.xy! is the shapesheet that
contains the reference User.ValueText. Of course, this assumes that you know
before hand, which shape has the reference info.

HTH
Wapperdude
 

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