How can i set a custom color as border color for the ASP.NET 3.5 chart control series in code behind(C#) ? I need a codebehind implementation of the following (which is in ASPX)
<ChartAreas>
<asp:ChartArea Name="ChartArea1" AlignmentOrientation="All">
<AxisX>
<MajorGrid LineColor="#EEEEEE" />
<MinorGrid LineColor="#EEEEEE" />
</AxisX>
<AxisY>
<MajorGrid LineColor="#EEEEEE" />
<MinorGrid LineColor="#EEEEEE" />
</AxisY>
</asp:ChartArea>
</ChartAreas>
I want to change the MajorGrid line color in my codebehind as RGB(125,135,111)