I am generating the graph at runtime using zedgraph control. The graph is generated but the line color of zedgraph control changes as the background color. I want to set the same color that was set at design time. How to set fix color to line? I am using the code to give color as :
refLine = gp.AddCurve("", null, null, Color.Green , SymbolType.None);
at the load event of form. But it gets changed automatically.