VB 2005 - Input The Data And Need To Generate The Graph
Aug 20, 2009how to learn generate graph by using vb.net. My problem now is input the data and need to genrate the graph.
View 1 Replieshow to learn generate graph by using vb.net. My problem now is input the data and need to genrate the graph.
View 1 RepliesI'm just trying to create a graph where the user can input data into textboxes and then plot the data. I am attempting to use Zedgraph, but open to other suggestions. The program below creates a plot, but it won't update when the textboxes are updated.
Imports ZedGraph
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
[code]....
I want to write my own Datalogging example. But need some simple examples to start from.
View 2 RepliesI want to create a page in asp.net website . it has to have one text box . the user enter the productcode in the textbox and click on search . when the user click search i want to display all the information about that product from product table.
[Code]...
i have probleam with my reportviewer, After i generate my report it only show 1 row from my database, My report also to big which is width until need 2 page . Any advice how i can generate all data in my database using reportviwer.and how i can resize my report. For you info i use visual studio 2005 and sql 2005. I also attach here the picture of the report and my database contain
View 3 RepliesI have a situation where I have an xml document that has a bunch of elements that I basically use as data variables. I populate the variables from various sources and then transform the xml file to an html file for user viewing.having to remember the names of all the data elements in the file is somewhat tedious. Is there a way to generate a strongly typed xml document object so that one can simply dot into the various data elements?
View 5 Repliesi need to take user input and make a very simple bar graph from it in vb.net.
View 3 RepliesI have a problem with the code, I have input the valid username and password in the form textbox to input the strings in php, but it keep displaying the messagebox that says login failed.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
MessageBox.Show("Please enter your username")
ElseIf Textbox2.Text = Nothing Then
MessageBox.Show("Please enter your password")
Else
[CODE]...
I don't really know why it keep displaying the messagebox that says it failed when I have input the valid strings in the first place.
i am using validated function and i would like to close the form without entering any input and not generate an error. is there a method that changes the exit command to allow this?Sometimes the answer is so blindingly obvious i fail to see it.
View 1 RepliesMy project is GUI based. I want to write program in vb.net take some input from user and then i hav to genarate hex file so that it can be run on microcontroller. I just want to know weather hex file generation in vb.net is possible or not?
View 2 RepliesIn a Windows Form, how are X,Y points of data drawn on the form to make a graph?
software developer
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 Repliestrying 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?
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 Repliesdrawing 2D color coded graph in vb 2005
View 2 RepliesI 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 RepliesOn geting input into DataGridViewTextBoxColumn but the column should not accept input of data that is not integer like; 10003, 2.00, 1500.00
View 3 RepliesI have created a function to create a string to populate a y axis with data:
Function talktosql() As Double
Dim ConnString As String = "Data Source=MARK-WORKMSSMLBIZ;Initial Catalog=Yahoo_data;Integrated Security=True"
Dim SQLString As String = "SELECT [RDSA.L] FROM yahoo_data.dbo.XLON"
Dim SqlDataAdapter1 As New SqlDataAdapter(SQLString, ConnString)
[code]....
so it should for example come out like this:
Dim yValues As Double() = {55.62, 45.54, 73.45, 9.73, 88.42, 45.9, 63.6, 85.1, 67.2, 23.6}
I cannot seem to get the data from the function into the right format to populate "yvalues".(the msgbox that I put in at the end in the first code renders the result "0")
I am wondering how one would go about using the graph control to display a bar graph that shows trends from my database.They are rather easy trends. I am building an industrial issue tracker and I would like for it to show how many issues were submitted each month for the last 6 months and also how many issues in the last month were of certain types that are categorized in my database.
View 1 RepliesOption Strict On Public Class Form1 Private Sub btnDistance_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDistance.Click 'The btnEnterSpeed click event accepts and displays up to ten speeds from the user'and then calculates and displays average speed
[Code]...
I cannot figure out how to incorporate the number of days into the input box then get it to loop and count the number of times the User inputs in the number of days. Then I have to incorporate it into the equation to get the total distance D = MPH * Hours. What I have right now wil not count up the number of days and locks up after I input one number and will not add anything to the listbox. Because I also have to make sure that they cant add nonnumaric values and the number of hours per day cannot exceed 20. I have put things in and taken them out but it has been 2 days and I am lost now
how to input a data/value to excel through vb input form and get the data/value from excel back to the input form?? (For example: put a number into exel A1 from input form and get another number from ecel B1 bact to the input form)
View 1 RepliesThis 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]...
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.
I'm currently trying to use ZedGraph to plot a graph based on some data I have extracted from a machine, with reference to a user entered "Frequency" range. I has to be a line graph, with Frequency on the X-axis, and extracted data on the Y-axis. There are 4 channels for the machine, but all data values extracted are close to each other, so multiple Y-axes are not needed. I'm also trying to do it within a class, and the graph should only be drawn when I click "Button3", otherwise there would be no data anyway and button2 extracts the data.
Below are my class (the graph code is at the bottom) and form1, which button3 should call the class, but I'm stuck for both the button interfacing and the class writing. I have also attached the output I get so you can have a look at what I need. Open it in Excel to see the format. The whole program is also attached as a text file if you prefer it that way.
[Code]...
Is it possible to create a graph by using data from a database?
View 2 Replieshow to create graph using vb.net .actually i have to creat a graph for amount of data coming per second in my computer from my LAN ?
View 4 Repliesi am doing A-level computing and for my project i need to be able to create a graph in a VB form using data imported from a spreadsheet at a given destination. I'm struggling to find any tutorials or posts that fit
View 1 RepliesPrivate Sub CreateChart()
Dim time2, tp As String
Try
[code]....
How can i use zed graph web to graph a dataset or datatable, the only examples i have found use test data.
View 2 RepliesI am new in VB.Net programming...I wanted to generates 10 integers from 0 to 9 randomly and list it in a listbox. How can I do this using VB.Net???
View 2 Replies