Hello I have a windows application and two values of priduction i want to make graph of this value on the windows form can anyone tell me how can I make a graph on the windows form? I am using c# windows application
You can use System.Graphics namespace for creating graphics on windows form and then you can use following code for it System.Drawing.SolidBrush myBrush = new System.Drawing.SolidBrush(System.Drawing.Color.Red); System.Drawing.Graphics formGraphics; formGraphics = this.CreateGraphics(); formGraphics.FillRectangle(myBrush, new Rectangle(0, 0, 200, 300)); myBrush.Dispose(); formGraphics.Dispose();