how to disable autoscale in "y" and "X" axis using zedgraph control
Im using zedgraph control to make a graph with visual basic
This is the code:
Imports ZedGraphPublic Class Form1 Private Sub CreateGraph(ByVal zgc As ZedGraphControl) Dim myPane As GraphPane = zgc.GraphPane myPane.Title.Text = "My Test Graph" Dim list1 As New PointPairList() Dim i As Integer, x As Double, y1 As Double For x = 0 To 46000 Step 100 y1 = 1.5 + Math.Sin(i * 0.2) list1.Add(x, y1) Next Dim myCurve As LineItem = myPane.AddCurve("Porsche", list1, Color.Red, SymbolType.Diamond) zgc.AxisChange() zgc.Refresh() End Sub Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load CreateGraph(grafica_entrada) End SubEnd Class
thanks Rgonzo1971