SarahBenjamin Posted March 5, 2009 Report Share Posted March 5, 2009 The colors that I want for my series and bar charts are not listed in teh drop down list of Systm.Drawing.Color .. So I need to assign RGB Colors to my chart. How can I go about doing that in my code behind classs. Thanks -Sarah Quote Link to comment Share on other sites More sharing options...
CarlosAC Posted March 5, 2009 Report Share Posted March 5, 2009 Hi Sarah. Please use following code: Chart1.Series[0].Color = System.Drawing.Color.FromArgb(150, 100, 50, 0); 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.