NickB Posted July 10, 2020 Share Posted July 10, 2020 I am wanting to change the color of a trace with script what is the syntax to use? Quote Link to comment Share on other sites More sharing options...
AzeoTech Posted July 10, 2020 Share Posted July 10, 2020 You have to give both the Graph itself and the trace a name. The graph is named just like any other component. The trace name is set on the Trace properties page, or if programatically adding traces. Then it is simply: component.myGraph.myTrace.Color = RGB(255,0,0) for example. This would set the trace to red. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.