Way To Use ZedGraph
Jan 30, 2009
I have a form with labels, with changing values (sub totals from a carbon footprint calculation)
and i want to create a graph which plots the final amount in Label7.text into a gar graph.
Y axis should be Carbon Footprint and X axis should be date.[code]...
View 2 Replies
ADVERTISEMENT
Jan 15, 2009
Can anyone how can i use a zedgraph?
View 11 Replies
Mar 16, 2009
I'm using VB2008 and I have ZedGraph on a form. I want the graph control to display the value of a constantly changing variable. How do I do this in code?
View 1 Replies
Nov 3, 2010
how to print a Zedgraph. Just give me pointers/references if you don't have samples.
View 2 Replies
Dec 15, 2011
I try to detect when the mouse is over a curve in zedgraph, I am capable of doing it if the mouse is over a point of the curve, but the problem is when the curve has no points in that region,let me show you an example:
Curve is defined by 2 points: [X=0;Y=10] -- [X=1000;Y=10]
If mouse is at point [X=500;Y=10] it is over the curve, but not over any point so i cannot detect it.Is there any event which gets fired when mouse is over line but not necessarily over a point?
View 1 Replies
Mar 29, 2007
Im using ZedGraph and want to do things as points are hovered over ("show point values" has to be on). is there an event i can harness that fires when you hover over points?
View 6 Replies
Dec 29, 2009
I am trying to install Zedgraph with VB 2008 (express) I have added the reference to the zedgraph.dll file, and the zedgraph.web.dll file, but the toolbox isn't showing any of the entries for Zedgraph. I've saved and closed the project, exited studio and come back, still nothing. I've rebooted, still nothing.
[Code]....
View 4 Replies
Mar 9, 2011
I get difficult with creating graph using zedgraph. I need code for this sample graph... I need it's code so much.
View 1 Replies
Mar 10, 2010
I'm using ZedGraph to draw functions.I want it so, that the user can input a function.Eg:
txtFunction.text = x ^ 2 - 3
Graphs are drawn with this code
For x = 0 To 100
y = x ^ 2 - 3
list.Add(x, y)
Next x
This doesn't work
For x = 0 To 100
y = txtFunction.text
list.Add(x, y)
Next x
as the x can't be replaced.Is there an other way to draw graphs, by reading the function from a textbox?
View 2 Replies
Dec 1, 2011
I'm wanting to do a real time graph, as a test i'm going to set up a timer to increment x and y values and then plot them every second on the graph.
I've got hold of Zedgraph, which is quite a nice add-in that i came across, does anyone have experience of doing this?
View 11 Replies
Jul 25, 2010
I have followed a tutorial from Zedgraph's wiki but I still seem to be having issues. When I run the code below, only the 3 curves on the Y Axis plot. I know the datasource is correct from which the 4 curves on the second Y axis are being created, because I have checked the table after creation. For some reason, however, the curves do not show up and the Y2 Axis does not change its scale to reflect any new curves. Does anyone see what I'm missing here?
[Code]...
View 1 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
Jan 7, 2010
I'm working with a zedgraph bar chart and displaying only certain values from a dataset. I have a dataset with 912 records. One field is called "DeviceName" and one is called "TimesOffline". I am able to bind the chart to the dataset, but it wants to plot all 912 records. What I need is to somehow sort the dataset to retrieve the top 10% (or something) devices with the highest number of times offline.
[Code]...
View 11 Replies
Aug 5, 2009
for those who know how to use Zedgraph, i am new in zedgraph and need help from u guys. what i want is to add a new y-axis value everytime i click on the button. the x-axis value is set at 0 to 36 and y-axis will start at value 10, at x-axis value 1. everytime i click, y-axis will increase 1 value. Imports ZedGraph
Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load, MyBase.Resize
CreateGraph(zg1)
'SetSize()
[Code]...
View 3 Replies
Dec 16, 2011
In my vb.net project, I use zedgraph to draw figures. I find that the following properties work well to zoom figure on the center of mouse.
[Code]...
View 2 Replies
Dec 16, 2011
I use zedgraph to draw figures in my vb.net project. The x axis of figure is date. I have two text boxes showing the minimum and maximum values of x axis in date. The following code shows how to get x axis values when a figure is zoomed by using isEnableWheelZoom property, also see this link zedgraph EnableWheelZoom, how to get axis values after zooming?. But I found that I only get axis value, e.g. 4508.345, but NOT the date that I want. Actually on figure, it shows date correctly. My question is how to get the minimum and maximum date on figure?
Friend WithEvents gcMain As ZedGraph.ZedGraphControl
Me.gcMain.IsZoomOnMouseCenter = True
Me.gcMain.IsEnableWheelZoom = True
[Code].....
View 2 Replies
Oct 2, 2007
how to change the orientation of the x axis labels in the zedgraph control?
View 2 Replies
Jan 20, 2012
I am using zedgraph to draw bar chart in my vb.net project. The bar base is Y (meaning all bars are horizontal). I have 9 fields for user to choose from, and once a user clicks a field, one corresponding bar will show. Of course, the user can click off the selected field to remove the corresponding bar item. I can do this. The basic idea is to get all bar items and set their visibility according to user's selection. My problems is that I want to have a textlabel next to each bar (this text label is different from legend)so I set the yAxis.Type=text. There are two problems:
1) When I add bars, I still need to specify x and y value. How do I set y value in this case to make sure bar ally perfect with its text?
2) As far as I know, I can add text labels by an array as the last line code shows. But obviously this only works for bar chart with fixed bars. In my case, the number of bars and also the order is changing based on user selection. How can I set text labels?
[code...]
View 1 Replies
Jul 20, 2010
For using you will need this two dll, I'm sure everybody knows that, but its probably the best.
[URLs] (this example use itextsharp-4.1.6 )
My Question
THe following Code will make a Graph, create a Bitmap, and start Adobe-Reade to present the Graph inside. The whole code works fine. I only have trouble, when I use this line:
Dim Doc As New iTextSharp.text.Document (iTextSharp.text.PageSize.A4.Rotate())
Instead of this line:
Dim Doc As New iTextSharp.text.Document(iTextSharp.text.PageSize.A4, 10, 10, 10, 10)
The quality of of the whole Picture is not good then. Eventhough when I change width and hight for the Rectangle. Then I tried to change the Bitmap width and hight, but in that case nothing happends? Any way, to handle the quality for using why nothing happens, when I change height or width in this line:
Dim Doc As New iTextSharp.text.Document(iTextSharp.text.PageSize.A4, 10, 10, 10, 10)
Imports ZedGraph
Imports iTextSharp
Imports iTextSharp.text.pdf
[Code] .....
View 3 Replies
Jan 4, 2010
I am noticing a "mysterious" change to text files used for graphs using Zedgraph libraries.In a 100-line data set, about four to five records inexplicably "disappear"! These are the SAME files which only 24 hours earlier showed the complete set and were successfully read.
View 1 Replies
Jun 21, 2010
I posted earlier this week about reading in data from a csv/txt file into an array. My data is huge, 100 columns and 12000+ rows. I would like to name variables by column and then plot these variables. After I read the data line by line and delimit the row, I'm not sure how to put each integer into it's own separate column, and then continue this for the next row and the next row, ect.
After some reading I would imagine the proper way to do this would be by creating a structure and then read the data into the structure, but there's no real starter example/tutorial out there that does this. I know some people will read this and get pissy, but you've got to realize I'm coming from Matlab and vb.net is a huge change for me.
View 2 Replies