[Zedgraph] Grundgerüst für die Verwendung von Zedgraph

private void InitGraph()
{
    GraphPane myPane = zedGraph.GraphPane;
    zedGraph.IsShowPointValues = true;

    myPane.CurveList.Clear();
    myPane.GraphObjList.Clear();

    myPane.Legend.IsVisible = true;

    myPane.XAxis.Title.Text = "x";
    myPane.XAxis.MinorGrid.IsVisible = false;
    myPane.XAxis.MajorGrid.IsVisible = false;
    myPane.XAxis.Scale.MajorStep = 1.0;

    myPane.YAxis.Title.Text = "y'";
    myPane.YAxis.Title.FontSpec.FontColor = Color.Red;
    myPane.YAxis.MajorGrid.IsVisible = true;
    myPane.YAxis.MinorGrid.IsVisible = false;
    myPane.YAxis.MajorTic.IsOpposite = false;
    myPane.YAxis.MinorTic.IsOpposite = false;
    myPane.YAxis.Scale.Align = AlignP.Inside;
    myPane.YAxis.Scale.Min = 0.0;
    myPane.YAxis.Scale.MajorStep = 10.0;

    myPane.Title.Text = "x/y'";

    myPane.Chart.Fill = new Fill(Color.White, Color.LightGoldenrodYellow, 45.0f);
    myPane.Fill = new Fill(Color.White, Color.AliceBlue, 45.0f);

    zedGraph.AxisChange();
}

private void ClearGraph()
{
    zedGraph.GraphPane.CurveList.Clear();
    zedGraph.AxisChange();
    zedGraph.Refresh();
}

private void FillGraph()
{
    this.ClearGraph();

    GraphPane myPane = zedGraph.GraphPane;

    ...
    
    zedGraph.AxisChange();
    zedGraph.Refresh();
}