The phenomenon and background of the problem
AxisChange () reported an error a dozen hours after the program ran
code related to the problem
this.Graph_Cavity1.AxisChange();
this.Graph_Cavity1.Invalidate();
Running results and error contents
System.NullReferenceException:"Object reference not set to an instance of an object"