Questions tagged [zedgraph]

ZedGraph, written in C#, is an LGPL class library, user control, and web control for .NET, for creating various types of graphs and charts. It also provides many additional options, such as expanded user interface, interactivity options and export/printing tools.

Are you looking for a way to draw in .NET? Here's yet another charting class library with a high degree of configurability that is also easy to use.

ZedGraph is a set of classes, written in C#, for creating 2D line and bar graphs of arbitrary datasets. The classes provide a high degree of flexibility -- almost every aspect of the graph can be user-modified. At the same time, usage of the classes is kept simple by providing default values for all of the graph attributes. The classes include code for choosing appropriate scale ranges and step sizes based on the range of data values being plotted.

ZedGraph also includes a UserControl interface, allowing drag and drop editing within the Visual Studio forms editor, plus access from other languages such as and . ZedGraph is licensed under the LGPL.

Unfortunately further development on ZedGraph was halted in 2007 by the author John Howard Champion however there was still a backup site for some time hosted for grabbing documentation and an on-going wiki existed for support.

More information:

436 questions
0
votes
1 answer

ZedGraph doesn't dispose emf file after create it

I have this code below: static internal bool SaveEnhMetafileToFile(Metafile mf, string fileName) { bool bResult = false; IntPtr hEMF; hEMF = mf.GetHenhmetafile(); // invalidates mf if (!hEMF.Equals(new IntPtr(0))) { …
Ștefan Blaga
  • 404
  • 1
  • 5
  • 22
0
votes
0 answers

Zedgraph Serial plotting, cant pause the time variable. Environment.tickcount improper use

So here's my problem, First image the highlighted portion was the time when i put the serial port close(i call it pause). Here's my code on that button: private void disconnectbutton_Click(object sender, EventArgs e) { if…
Jeesam
  • 1
  • 1
0
votes
1 answer

ZedGraph Legend text Location

I have a problem positioning a legend to accommodate changing graph data values. The Zedgraph Y axis scale is set to auto - GraphPane.YAxis.Scale.MinAuto = true. The graph is populated with differing data stes as chosen by a combobox. This obviously…
Malcom
  • 61
  • 1
  • 9
0
votes
0 answers

Eazfuscator.NET does not merge zedgraph.dll

I used zedgrzph.dll in my application and after building, it works fine. I use Eazfuscator.NET for merging dll with application exe. After merging, I get warnning below from Eazfuscator.NET. WARNING Assembly at file path "C:\Users\New…
August
  • 100
  • 2
  • 8
0
votes
0 answers

Axis scale displays a wrong value

Within ZedGraph you can draw an XY graph easily. Let's use default scale for X axis and a custom scale (0 to 10, major step 2.5, minor step 1) for Y, then redraw the graph: public Form1() { InitializeComponent(); …
Thomas Ayoub
  • 29,063
  • 15
  • 95
  • 142
0
votes
1 answer

ZedGraph to PDF using MigraDoc

I am currently working on a C# application that aims to do some computation and output graphs in a pdf file. I use the Zedgraph library to draw my graphs so something like graphPane.AddCurve(PointPairList). Now I tried to output these graphs to pdf…
bchu1392
  • 59
  • 2
  • 8
0
votes
1 answer

How to remove side axis numbers

I am working on a very generic function graphing program using Zedgraph. I was wondering, is there a built-in Boolean or a method to remove the numbers on the side so that it looks something like this:
0
votes
1 answer

zedgraph - creating masterpane in ASP.NET page

How do I call Zedgraph's function masterPane.SetLayout() from Web C# Application? Basically i'm stuck at step myMasterPane.SetLayout(g, PaneLayout.SingleColumn); How do I create that variable g which is supposed to be a Graphic() I tried Graphics g…
user391986
  • 29,536
  • 39
  • 126
  • 205
0
votes
1 answer

Scale zedGraph to fit paper size

I have created an application and managed to draw the graph with zedGraph as I would like it but when I use the print command it’s not scaled to fit the paper size which I have selected. It looks as if it just try’s to print what I have on the…
JSM
  • 211
  • 1
  • 8
0
votes
1 answer

ZedGraph AxisChange() reset?

I'm using C#. When I use AxisChange() to adjust the axis on my graph, it works fine, until I go into the graph pane and manually zoom in and out. After manually zooming in and out, the AxisChange() command no longer works. How can you get it so…
sooprise
  • 22,657
  • 67
  • 188
  • 276
0
votes
3 answers

ZGC.Refresh() Efficiency BottleNeck?

I have a process that refreshes a 1000 line graph while a TrackBar scrolls. I've done some StopWatching and found that ZGC.Refresh() accounts for 90% of the process run time. The ability to see the graph progress as the TrackBar scrolls is…
sooprise
  • 22,657
  • 67
  • 188
  • 276
0
votes
1 answer

Converting From XDate To Normal Date Format?

In ZedGraph, I had to convert my date to XDate in order to plot it. Now, I want to know how to convert from XDate to normal date for some other process. Thanks!
sooprise
  • 22,657
  • 67
  • 188
  • 276
0
votes
1 answer

Control 'ZedGraphControl' accessed from a thread other than the thread it was created on

I'm using the ZedGraph library, but on a website rather than Web Forms application. Quick intro - the app gets data from a database, generates a graph, saves it as an image and then displays the image on a web page. I have a GraphController class,…
edparry
  • 688
  • 1
  • 10
  • 34
0
votes
1 answer

Getting All Of The Points In An Existing Curve?

I'm using ZedGraph and want to know how I can find the points that make up an entire curve. foreach(var Curve in GraphPane.CurveList) { foreach(var Point in Curve.???) { Console.WriteLine(Point.X+" "+Point.Y); // <- I'm not sure if…
sooprise
  • 22,657
  • 67
  • 188
  • 276
0
votes
2 answers

Specifying A DateTime, Double PointPairList?

I want to graph some data with Date vs Value. The problem is that I don't know how to make a PointPairList accept DateTime values and Double values.
sooprise
  • 22,657
  • 67
  • 188
  • 276