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 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. 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! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.