Draw A Graph Based On X And Y Axis?

Apr 27, 2010

the vb.net/ vb2008( i'm using vb2008) to draw a graph based on x and y axis.. and find the peaks in that graph. Urgent needed

View 4 Replies


ADVERTISEMENT

Formatting Axis Labels Based On Axis Label Values?

May 22, 2012

I have a P/L chart which has a left scale (Y axis) which starts from a negative value. I want to format the axis labels (the major tick mark labels) so that the negative ones are red.
Something like;

If cht.ChartAreas(chtarea).AxisX.MajorTickMark.Value < 0 Then
cht.ChartAreas(chtarea).AxisY.LabelStyle.Font = New Font("Verdana", 9.0F, FontStyle.Bold, Color.Red)

[Code]....

Of course that doesn't work since MajorTickMark doesn't have a value property. How does one make this work?

View 1 Replies

Draw Bar Graph - Draw A Graph Except MSChart Tool?

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

Zed Graph X Axis Labels?

Feb 23, 2011

I am trying to loop through my datatable column sdescr and use the text in the columns as the labels of my x axis, but it isnt working i am getting this error

Value of type
'System.Collections.Generic.List(Of
String)' cannot be converted to

[code].....

View 1 Replies

Display X-Y Axis Values From Graph Created With MSChart.

Jul 22, 2009

I have used MSChart control and created line graph. when i move my mouse over the graph, i want to display X-axis value and Y-axis value in another label above the graph.

View 2 Replies

Draw A X/y Graph With VB?

Oct 13, 2010

I downloaded mschart20.ocx manually and register it with regsvr32.exe bu it gives an error ven I tried to launch my program. link to set up mschart property to my visual studio 2008 prof.edt. I need to draw a x/y graph with visaul basic.

View 1 Replies

How To Draw Graph

Feb 2, 2011

I want to develop a graph application in VB.Net (VS2008). I have many point with (x,y) values. There I have calculated angel and radius by Pythagoras theorem. How to draw line with X,Y co-ordinate with scaling and put the point into this graph.......

View 15 Replies

Draw A Waveform Graph (from Mp3 & Wav)?

Feb 14, 2010

I'm trying to draw a waveform graph(from mp3 & wav), I found this so far.

View 9 Replies

Draw Dynamic Line Graph?

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

Draw Graph Over Video .net 2008?

Mar 18, 2011

I have series of video files that i need to automatically draw some line over through to the en. The line varies, the values will be provided, is this possible in vb.net?

View 1 Replies

Draw Graph Over Video In 2008

Aug 25, 2009

I am having problems passing data from one form to another form opened from the first form.Here is my scenario: I have my start-up form. From this form I open a form by using the following:

[code]...

I use this because I want to be able to open multiple forms from the start-up form.Then from the PartyDetail form I open another form to display order details, like this:

[code]...

I want this order details form to be able to get a partyid variable from the party detail form.This works, but depending on the order that I open the forms the variables are incorrect Example:If I open the first PartyDetail form and then open the OrderDetail form, it works correctly. I can open as many PartyDetail and OrderDetail forms that I want and the variables are correct.But, say I open a PartyDetail form and then open another PartyDetail form and then open the OrderDetail form from the first opened PartyDetail form, it displays data based on the second opened PartyDetail form instead of the first. Basically, I want to be able to open multiple PartyDetail forms and then open OrderDetail forms based on whichever PartyDetail form it is opened from.Right now I am using Public Shared variables on the PartyDetail form and accessing this variable from the OrderDetail form. I suspect this is my main problem but don't know the best way to pass the variables from the PartyDetail form to the OrderDetail form.What would be the best way to do this?

View 2 Replies

VS 2008 Best Way To Draw This Simple Graph?

Apr 10, 2010

Will any of the free light-weight charting libraries; ZedGraph or NPlot, be able to draw a simple graph similar to attached image (no waste of space, and with colored plot areas)? This plot will act much like the task manager "CPU Usage" plots, with update of last value every 500ms, but only making a new datapoint every 1 minute or so.

Or is this so extremely simple that it's better to hard-code it? What classes should I look into for this?

View 3 Replies

Draw Bar Graph To Update Match Score?

Jan 31, 2010

I'm making a cricket project, and I'm trying to insert a bar graph that will update as I score the match, showing the total for each over. The code I have so far is below, at the moment I'm trying to draw the graph into a picture box, is this correct? Also, if the below code is ok, how do I call the sub?

Public Sub graph_paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles graph.Paint
Dim total(20), i As Integer
For i = 1 To 20
total(i) = over(i, 1) + over(i, 2) + over(i, 3) + over(i, 4) + over(i, 5) + over(i, 6)
[Code] .....

View 1 Replies

VS 2008 : Draw Graph From Excel File?

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

Draw A Graph/chart With The Results Of The Queries In Excel?

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

Draw A Real Time Graph With Colored Area

Dec 26, 2010

I want to draw graph in visual basic 2010 form which changes with time. Just like the CPU usage history graph in the "Windows task manager" dialog box. Thats time vs. usage graph. I want to make applications with that kind of graph.

View 3 Replies

VS 2008 - How To Draw Continuous Line Chart / Graph

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

Use ZedGraph To Plot A Graph Based On Some Data?

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

Get Atleast Noise Level Coming Out Of Speakers / Draw A Graph And Detect Peak At When Sound Is Played?

Feb 3, 2011

I was just thinking if there is any component which monitors sound output. My intention is to recognize a particular sound coming out from my soundcard. I know its an issue about the driver of my sound card but is there a way I can get atleast noise level coming out of my speakers and maybe draw a graph and detect the peak at when the sound is played?

View 7 Replies

Mouse Hook In X-axis And Y-axis Coordinates?

Aug 14, 2011

I am having trouble in getting the coordinates of x-axis and y-axis in low level ouse hook...all I am getting is values in x-axis listbox and in y-axis listbox I am getting zeros......why? and my second problem is I am calling the setcursorpos
function in a for loop because I want to automate mouse movements and clicks, but setcursorpos function is not working , maybe because I am getting the coordinates wrong.....here is my code

low level mouse hook

Public Class MouseAutomating
Inherits HotKey
Public lstbox As New ListBox

[code]...

View 4 Replies

Excel - Code In VBA And Recording A Macro - Input A Values For The X Axis Rotation And The Y Axis Rotation

Sep 16, 2009

I am having some major problems with the code in VBA and recording a macro didn't get me anywhere nor is the VBA help file. I have to have it so that I can input a values for the x axis rotation and the y axis rotation so that my 3d surface graph will rotate whatever values I input, the 3d surface graph will rotate those degrees. I also have to have a method for having the default rotation. I was also wondering how to put scroll bars for the x and y rotation. The only other thing I am having trouble with is having an input to check box for right angle axes. So far I have two cells for entering the x rotation value and the y rotation value. I also already have my 3d surface graph.

View 3 Replies

VS 2008 Getting A Dot To Draw Based Upon X Y Coordinate On Form Load

Nov 16, 2010

I have managed to develop a form which allows me to add a record to an access database using Adonet. The last few fields added are populated when i place the mouse over a floor plan image on the form (provide geographical location) and capture the x y coordinate. Prob im having is how on another form i get the points to automatically re-draw on a form with the same content (floor plan on it. I can obviously retrieve the data set using a data adapter/data table just cant make it draw on top of the graphic automatically.

View 1 Replies

Show/draw Path Dynamically Based On Label Coordinates?

Dec 5, 2011

does anyone know how to connect points of a label? Let's say I have a label and start the label at point 0,0. Aterwards, the points jumps to 3,6 ... then to 6, 9 dynamically based on incrementing 3. How do I show for example, the path it takes to let users know where they are? for example, 0,0 --> 0,3 --> 3,6 --> 6,9 --> etc. I've tried with drawline but unfortunately, this leaves my lable in a mess.

View 1 Replies

VS 2010 - Draw A Bar Chart Based On The Five Values Getting From The User Via Textbox?

Jul 11, 2010

I trying to draw a bar chart based on the five values getting from the user via textbox...When i run this program no error is occured, but the chat is drawn...Can anyone please help me out in this regard.

here is the code i have so far

[code]...

View 7 Replies

RDLC Chart - Produce A Chart Showing The Month Along The Y-axis And The Value Up The X-axis

Jan 8, 2009

I have the smallest dataset in the world that simply consists of a month (text) and and amount. I want to produce a chart showing the month along the y-axis and the value up the x-axis. How do I do it? I have dragged the chart control onto the report page and populated the dataset. The chart shows but nothing like what I would expect. Just to make it simple I populated the dataset with an amount equivalent to the month number so it should show as 1 in January, 2 in Feb etc...However no matter where I drag the dataset's column names I don't get what I want. Where am I going wrong?

I use this simple loop to populate the dataset:

dsSales.Tables("Sales").Clear()

For i As Integer = 1 To 12
dsSales.Tables("Sales").Rows.Add(MonthName(i), i)
Next

ReportViewer1.RefreshReport()

I get this as a result:

View 1 Replies

Use Zed Graph Web To Graph A Dataset Or Datatable?

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

Get DataGridView To Draw The Way A Professional Control Should Draw?

Apr 26, 2010

I need to get the DataGridView to perform the way it should perform. I'm new to the .NET environment, but I learn fairly quickly. However, I find it difficult to decipher themassive black box of the DataGridView control enough to make it do anything other than what it already does--Draw very slowly.

View 3 Replies

Axis Of Rotation In Vb?

Jan 29, 2011

I have created some 3d models(VB) for display in a WPF 3d Viewport and would like to rotate them. I would like to rotate them about an axis of rotation defined by a line through two 3d points. All the examples seem to rotate about one of X Y or Z axes and are not helpful for a more general approach. The angle of rotation is easily found. My maths is a bit rusty now so is there a function that would calculate the axis easily ?

View 2 Replies

Set Axis Of Excel?

Jul 27, 2009

I have 2 columns of data B and C.i want to set the data under column B as x-axis and C as y-axis correspondingly to plot a x-y graph.[code]...

View 1 Replies

.NET Chart Y-axis Scaling?

May 13, 2011

I am using the MSChart object in VB2010. Live futures data is put into an array, then added one point at a time to a line chart (Chart1, one line only) using (1):

frmChart2.Chart1.Series("data").Points.AddXY(sec10, spreadarray(0, sec10))

All fine and good. However, by the time a few thousand data points have come through, its getting hard to see the detail in the chart, therefore I reset the x-axis so that I just see the last 200 (say) points, using (2):

Chart1.ChartAreas("ChartArea1").AxisX.Minimum = frmPrices.sec10 - CLng(lstChartpts.Text)

...where frmPrices.sec10 is the total number of data points, and CLng(lstChartpts.Text) is the number of points required. So if I have 1000 pts, and I wish to see 200 displayed, the AxisX minimum in this case is 1000 - 200 = 800. Points then start to build again one at a time. I am happy with this except that the Y-axis scaling is still taking into consideration all 1000 data values, so need to reset the Yaxis maximum and minimum. No problem (3):

Chart1.ChartAreas("ChartArea1").AxisY.Maximum = (max of the last 200 values + a small increment)
Chart1.ChartAreas("ChartArea1").AxisY.Minimum = (min of the last 200 values - a small increment)

The problem comes in when I want to change the number of points to display back to "ALL". I could re-write the code to use the max and min of all values, as in (3), but I'd rather just reset the yaxis back to the autoscaling that the chart started out with. I've looked everywhere for a property or method to do this! Or is there a way to autoscale the yaxis according to only the displayed values?

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved