1

My question has to do with an existing question: Change zedgraph pane background color

However, I would like to change the entire pane, not just the chart. So far, I have this: enter image description here

Community
  • 1
  • 1
razshan
  • 1,128
  • 12
  • 41
  • 59

1 Answers1

3

ZedGraph does have some quirks.

To change the color of both the chart and the pane

// This will do the area outside of the graphing area
GraphPane.Fill = new Fill(Color.FromArgb(222, 224, 212));
// This will do the area inside the graphing area
GraphPane.Chart.Fill = new Fill(Color.FromArgb(222, 224, 212));
AnotherUser
  • 1,311
  • 1
  • 14
  • 35