User (Legacy) Posted March 2, 2003 Report Share Posted March 2, 2003 How can I programmatically set the colors associated with values or range of values in the contour chart? I want to set specific RGB colors depending on the data. Thanks, Andy Patrick TMS Ltd Quote Link to comment Share on other sites More sharing options...
Software FX Posted March 3, 2003 Report Share Posted March 3, 2003 Like this: ChartFX1.OpenDataEX COD_COLORS, NumberOfColorsYouWant, 0 For i = 0 to NumberOfColorsYouWant-1 ChartFX1.Color(i) = YourChoiceOfColor(i) Next i ChartFX.CloseData COD_COLORS -- FP Software FX, Inc. Quote Link to comment Share on other sites More sharing options...
User (Legacy) Posted March 3, 2003 Author Report Share Posted March 3, 2003 Many thanks, couldn't be easier! 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.