Imports ZedGraph Public 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 Sub End Class
|How to Get total minutes between two hours||4||44|
|Spacing between controls||4||30|
|I need help adding a datacontext value to a listbox with images in it. This is a WPF application with VB.Net code-behind||2||30|
|VB 2005 how to get a new line of data each time I try to write to a file.||10||12|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
16 Experts available now in Live!