09-14-2009 02:26 PM
Hello... I don't see any property node for selecting the color of the "frame" that surrounds the plot. Can the color of this "decoration" be changed programmatically?
(Is this a job for an XControl? I haven't played with these yet, so if there is a suitable example, please point me in the right direction).
Thanks,
Alan
09-14-2009 02:48 PM
I'll take your word that the property is not available, but before you jump into an XControl, try the following. Turn the decoration that is part of the graph transparent and place a decoration on the FP in its place (ie. horizontal smoothbox). Size it properly and then group it with the graph. You can get the color properties of the decoration via Pane.Decorations[]. Index the Decorations array and then create a color property node. Some trial and error to find the right array index if you have multiple decorations. A bit of a pain, easier than an XControl (for me at least).
Someday we may be able to do this:
09-14-2009 06:02 PM
Thanks Darin, that's a great solution. I have multiple graphs, so I can put the decorations & graphs in a cluster, and reference them through the cluster props, which includes a decorations array.
--Alan