If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Set Text DataGraphic Transparency
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. |
#2
|
|||
|
|||
Set Text DataGraphic Transparency
Sorry, should have added that I'm using Visio 2007 on Vista
Cheers "CRaSH" wrote: 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. |
#3
|
|||
|
|||
Set Text DataGraphic Transparency
On Wed, 15 Oct 2008 00:15:01 -0700, CRaSH
wrote: 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. -- Regards, Paul Herber, Sandrila Ltd. DFD/SSADM for Visio http://www.visio-dfd.sandrila.co.uk/ |
#4
|
|||
|
|||
Set Text DataGraphic Transparency
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. "Paul Herber" wrote: On Wed, 15 Oct 2008 00:15:01 -0700, CRaSH wrote: 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. -- Regards, Paul Herber, Sandrila Ltd. DFD/SSADM for Visio http://www.visio-dfd.sandrila.co.uk/ |
#5
|
|||
|
|||
Set Text DataGraphic Transparency
On Wed, 15 Oct 2008 14:31:01 -0700, CRaSH
wrote: 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. -- Regards, Paul Herber, Sandrila Ltd. Electronics for Visio http://www.electronics.sandrila.co.uk/ |
#6
|
|||
|
|||
Set Text DataGraphic Transparency
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 "CRaSH" wrote: 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. "Paul Herber" wrote: On Wed, 15 Oct 2008 00:15:01 -0700, CRaSH wrote: 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. -- Regards, Paul Herber, Sandrila Ltd. DFD/SSADM for Visio http://www.visio-dfd.sandrila.co.uk/ |
Thread Tools | |
Display Modes | |
|
|