Create Line Graph And VB 2005?
Feb 12, 2010
I am currently using visual basic 2005 and i am wondering if it is possilbe to create a line graph using data similar to for example Week 1 = 40, Week 2 = 40, etc....and the Weeks as cross the X axis and the numbers from 1 to 100 on the Y axis....is this possible to implement in visual basic?
View 2 Replies
ADVERTISEMENT
Sep 12, 2009
trying to move a line on a graph (to a new calculated value)This is as far as I can get:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim label5 As Double
y = 310
[code].....
This does not work?
View 7 Replies
Jun 21, 2010
I want to picture a line graph based on my array. I can create a graph line with 3 different series, but I don't get my exact chart as in excel. As can be seen from graph in the attachment. It has additional lines. I want just the 3 curved lines, but i don't know why it create other lines. Here is the code I used:
ReDim dataGraph(2, UPPER + 1)
Chart1.Series.Add("Series1")
Chart1.Series.Add("Series2")
[Code]......
View 1 Replies
Aug 31, 2009
How to create a line graph in VB 2005? I will get the data from database and plot a line graph with the information i get from the database and display it out. I know i can use Microsoft chart control but i don't really know how to use that.
View 2 Replies
Aug 25, 2011
How can be create plotted line chart in vb.net windows application.In that type of graph how can be taken input values?
View 1 Replies
Aug 25, 2011
How can be create plotted line chart in vb.net windows application.In that type of graph how can be taken input values?
View 1 Replies
Feb 1, 2010
I have written a simple program which receive data from serial port i.e (temperature) and display on a line graph. but i require accumlate the graph data upto 10 minutes on screen. after that it again accumlate next 10 minutes data.[code]....
View 1 Replies
Oct 4, 2011
I am using Visual basic express 2010. I have a set of data in a text file and I want to read that text file into the visual basic and create a chart. I am able to import the data into visual basic but I don't know how to use that data and create a 2d line graph from that data. [code]What I want to do in visual basic is create a chart like the chart created by microsoft excel.
View 7 Replies
Jan 10, 2011
are there any tutorials on DIC or other programming websites for Creating a line graph on VB.NET
View 9 Replies
Jan 18, 2010
how to make line graph in vb.net? I have a textbox that if i put data the graph will move. I attach sample form of what I need to do...
View 3 Replies
Apr 4, 2010
I'm looking for some assistance on creating a line graph in VB 2008. Not sure where to start. Can some one here point me to the right direction?
View 2 Replies
Dec 2, 2010
Based on some calculation i will get the (x,y) coordinates of the points to be plotted. I need to draw a line graph based on these points. Which is the best and easiest way to do so?
View 2 Replies
Sep 17, 2010
using vs2008 I am trying to create a line graph using vb in a windows form. I have dragged a chart onto the form, and via the properties window, through the series option have changed the type to the graph that I want, which is line. But all the time the data is displayed as a simple bar chart. How do I remedy this please to get the type of chart that I want.
View 1 Replies
Aug 7, 2010
I have a series of x and y co-ordinates that I would like to plot on a line graph. Can anyone recommend any simple tutorials that would get be started?I have my chart component on the form, I'm guessing that I need to declare a collection of datapoints and loop through the adding each to the graph
View 5 Replies
Nov 6, 2009
I've looked around, I can't find much documentation on Line Graphs using the MS Chart Addon for VB2008.
Whenever I add the "chart" control (which seems to be the only new one in the property browser) a Bar Graph appears. I'd like to create a line graph rather than a bar graph, I don't see an option to change the kind of graph it displays. I'm sure I'm missing something simple, since I've seen people able to create their line graphs almost immediately after installing the control.
View 2 Replies
Mar 6, 2010
I have a directory containing list of files.
Those files have some list of values as x and y ordered as line by line.
And my question is just I would like to read those files one by one and to plot line graphs based on those values.
View 1 Replies
Jan 24, 2012
This isnt the first time i have posted about a graph, last time i was posting about which way i should do it, now that i have created the graph (by drawing individual lines) i was wondering what the easiest way to actually get data from a SQL database and output it as a line on a graph. here is a picture of what the graph looks like (bottom of the page) [URL]
[Code]...
View 13 Replies
Feb 20, 2012
I am trying to plot a set of data using a function I have defined as an array:
Private Sub calculate_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calculate.Click
range(1) = min.Text
For i = 2 To 100
[Code] .....
Range(i) I want to be my x values and fee(i) to be the y values. When I try to select range() and fee() as the x and y values for a series, I get an error because they are not of type double.
View 3 Replies
Jan 20, 2011
I would like to know a simple method to create a simple line graph, with a grid and X and Y values... I tried just drawing in a picturebox but that was just annoying and not clear... Is there any simple way to create a little graph with prefixed values on X and Y (graph should just be lines drawns from different Y values, with always the same change of X)
View 4 Replies
Nov 14, 2011
I am trying to make a line chart and from what I've read using the chart control is the best way to go about it, but I have no idea how to do that.
View 4 Replies
Feb 14, 2011
I'd like to do something I thought was simple. All I'd like is to take the data from a connected database, then put those values into a scrolling line graph. Preferabley with 4 lines (taking information from separate tables) on the same graph. I've connected the database and set up a script to populate it with data, but that's as far as I go with graphs.
I've downloaded 'MSChart.exe', 'MSChart_VisalStudioAddOn.exe', ChartFXLiteNet' and others, yet none work. I've also followed a tutorial here on graphs, but it's for visual studio 2005, and I don't have the options required. I'm using Visual Studio 2008 with VB.NET.
View 4 Replies
Feb 9, 2010
I have this code which creates a picturebox during runtime and displays line graph but I always get an error in this line: gr1.DrawImage(pic1.Image, -m_Dx, 0) 'it says Value cannot be null. Parameter name: image
code
Public Class Form1
Private Const m_Dx As Single = 1
Dim data As Integer = 1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim pic1 As New PictureBox
[Code]...
View 1 Replies
Apr 6, 2009
I have two values those are contiguously One is Time along x-axis and second is the CPU Usage in percentage along Y - Axis. I want to draw a continuous line Chart/graph what ever called.
View 11 Replies
Dec 24, 2010
I am developing an application with multiple picture boxes, each displaying a line graph. I want to be able to have a label following the mousepointer showing xy coordinates of the point. I also want to allow a user to zoom in on a specific picture box by double clicking on it. The code does what I want as written (changes backcolor so I know double click event fires) except moving the position of the label to follow the mouse pointer.
However if if uncomment the line in the MouseMoved sub:
LB.Location = New Point(e.X, e.Y)
Then the label moves as desired however the double click event no longer fires.
Public Class Form1
Dim PB As New PictureBox, LB As New Label
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.Controls.Add(PB)
With PB
[Code] .....
View 2 Replies
Jul 9, 2010
A part of my project is related to the dynamic data that stored in excel or access (anyone). i need to create a program which can automatically display the graph for these data. Just let say there are three data in excel or access[code]...
how can i display the graph for these data in visual basic?
View 4 Replies
May 11, 2009
I want to plot X,Y points by using visual basic. Which command do I use? Do I need to import a specific component? I don't' want to use use Excel.
View 3 Replies
Jan 9, 2010
In a Windows Form, how are X,Y points of data drawn on the form to make a graph?
software developer
View 4 Replies
Oct 14, 2011
I'm having trouble figuring out the logic to this problem:Thus, you can create the bar graph with each store's name, and a separate label that has the sales information for each store. Since each asterisk represents $100 sales, you can just do # of sales mod 100 to get the number of asterisks you need for that store, then loop and add asterisks until the label has the correct number of asterisks. Repeat for each store input that the user gives.
[Code]...
View 5 Replies
Jul 12, 2009
I want to know if it is possible to create a bargraph in vb.net based on the values retrived from the database? [code]What I want to do in VB.Net windows application is to create a bar chart based on the data retrieved from the database.
View 8 Replies
Jul 24, 2009
i am a newbie to visual basic 2005. i have a excel file contain x value and y value of points.i wan to plot a graph using these few points.after that display the graph in the vb.How can i do that??
View 2 Replies