you can use
zg.GraphPane.Chart.Fill.Color = SystemColors.ControlText;
to change the background of the [only] chart. If you want to change the background color in zedgraph, besides the chart, use
zg.GraphPane.Fill.Color = SystemColors.ControlText;
If you want to change the background color of everything in zedgraph, use both options:
zg.GraphPane.Chart.Fill.Color = SystemColors.ControlText; zg.GraphPane.Fill.Color = SystemColors.ControlText;
EDIT: I know that you already solved your problem, but I did it, so if someone is looking for him, he can quickly solve his problem :)
source share