VS 2005 Plot A Excel Graph By Vb?
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
ADVERTISEMENT
Nov 18, 2010
points on picture box by several mouse down operation, perform either linear regression for best fit straight line for these points or best fit circular curve fitting for these points.User can use radio button to select either straight line or circular curve fitting. Plot the best fit graphic accordingly and save these graphic to a data file (result.txt).
View 5 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
Apr 19, 2011
ive been struggling on this portion of my code for almost 3 days with no luck. i have a database containing a list of transactions (in this case, the product name, quantity and date of sale). I want to plot a graph for each product showing the amount sold each month for the past 12 months. The functions to calculate these values are working fine. but my problem is this:
each tab page is named after the product name:
TabControl_SaleOfProducts.TabPages.Add(
"TabPage_"
& ProductName, Item)
and then to this tab page i want to add the graph. but i cannot reference the newly created tab page?
View 2 Replies
Dec 9, 2009
I need to be able to take an MP3 or WAV file and plot a graph of its waveform over time. Prefferably without playing it first. The representation doesn't have to be amazingly accurate as it's not for EQ purposes. I just need to pinpoint certain points in the MP3 / WAV when specific music / sounds etc occur (similar to the display in Windows Sound Recorder).
how I can go about that, or if it's even possible in VB 2005?
View 3 Replies
Oct 2, 2009
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]...
View 9 Replies
Sep 20, 2011
I new in vb .net. Now doing the robot mapping project from the arduino serial port and VB 2010 as a GUI. The serial port can read the text from arduino sensor but how to plot the graph from all the sensor value? So when ultrasonic detect the distance will give the pixel or point. I using the picture box as a background grip map.
[Code]...
View 1 Replies
Jun 15, 2009
I'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]....
View 7 Replies
Mar 22, 2010
I am new to vb and I am required to plot a graph in vb. I need to get data from a text file to plot a polar graph of Wind Direction vs Wind Speed. But opening the file from a text file is in a string format, and when i tried to convert to a double, it gives the error:
[Code]...
View 1 Replies
Feb 2, 2010
Im trying to create a Graph on a 2nd worksheet. the reference data of this graph is from the 1st worksheet.I was able to highlight a specific cell for its source data but the problem is it will highlight on the 2nd worksheet in which my data is at the 1st worksheet. The problem is I don't know how to make it read from the 1st worksheet..
Below is my code:
Public Sub _autoGraph()
With exBook.Worksheets(2)
Try
[code]....
View 7 Replies
Nov 17, 2009
does any one know if this is possible and if so , how? importing a excel graph and viewing it on a vb form? sample code would be very nice
View 1 Replies
Jul 5, 2010
I have a project to make a GUI using VB.net and retreiving data from an excel spreadsheet every three minutes and draws a graph in real time. The excel file is filled every 3 minutes by a new value (level of water in a tank).As I made started making this interface and I have a problem with retrieving data from a cell of the excel spreadsheet and update this action automatically every three minutes.
View 3 Replies
Mar 26, 2009
Is there a way to draw a graph in real time. The excel file has one column with the time in sec.(x) and the other column is data(y). The examples with charts I've seen is about converting to a picture, then paste it to a picturebox.
View 2 Replies
Jan 24, 2011
I have a ms access database with few tables and queries. I need to draw a graph/chart with the results of the queries in excel.
Is it possible to do with vb.net coding?
View 2 Replies
Jun 13, 2011
Private Sub CreateChart()
Dim time2, tp As String
Try
[code]....
View 1 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
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
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
Nov 27, 2009
drawing 2D color coded graph in vb 2005
View 2 Replies
Aug 20, 2009
how to learn generate graph by using vb.net. My problem now is input the data and need to genrate the graph.
View 1 Replies
Jan 11, 2011
I have built an Access 2007 database with some data stored in it. I have managed to export data using VB2008 from that database to Excel 2007 and have it automatically draw charts based on this data and a query in the Visual Basic Code. One of the results looks like this:
View 3 Replies
Feb 23, 2011
How can i use zed graph web to graph a dataset or datatable, the only examples i have found use test data.
View 2 Replies
Jul 2, 2009
I have to draw a bar graph in my vb.net program. I used AxMSChart to create a graph. Everything has gone fine but when i published this and run on Vista PC, all form was good except my form includes MSChart. It says class not registered.So i have to draw a graph except MSChart tool.
View 10 Replies
Feb 2, 2012
I have a chartarea, which take too long to print the data when the count is over 100,000 points. is there a better way to show my data in a graph that is faster?
View 2 Replies
Nov 29, 2011
I have been learning and developing a software using VB for my company. I seem to have some issues with Chart function. [Code] Those 2 points will plot 2 datas (xval, finvall) & (xval, finvall2). Here is the thing. When I do the plotting, the starting points are always at (0, 0). That points come from the data point collector editor in the series properties. The question is: How do I plot data using the first value that I have? I don't want to start at (0, 0) but instead using (xval, finvall) & (xval, finvall2). I can't change the data point at run time. Many thanks!
View 6 Replies
Jun 7, 2009
If I have an X-Y plot on a graphics and I also create a verticle line on the same graphics. I want to move the line cross the X-Y plot without disturbing this X-Y plot.
View 7 Replies
Mar 4, 2011
my only objective is to create a scatter plot with only x and y axes. the data source should be from a 1 dimensional array. say i have these arrays:
[Code]...
View 2 Replies
Mar 14, 2012
I'm currently working on an assignment for university and I could really use a hand.I need to plot the equation y=0.2*sqrt(1-(0.25/x)^2)
View 5 Replies
Jan 7, 2010
I'm trying to plot a graph in VB.Net, using MS Chart Control. I'm receiving streaming data, distance vs X data (Sine wave) and Z data (Cosine wave) every 1 msec. maximum data points varies from 2000 to 5000. I would like to plot this streaming data on a graph, distance on x-axis and two series X data and Z data on Y axix.
View 3 Replies
Jun 18, 2009
I'd like to be able to graphically represent a position in a 3D graph and be able to rotate the grid to match a certain perspective. I've looked for tutorials online, but they all mention how to import or create common file types. I don't want or need to do this. I just need to know where to begin. I have the DirectX SDK, but I'm not sure where to start with it and need some direction.
View 1 Replies