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

How do I enlarge a graph a Masterpane using Zedgraph?

I would like, if I click on any graph, so that the selected chart increased or switched to a new window. I tried to use the code of this answer to the question How to select and enlarge a Masterpane in Zedgraph But I get an error: //Zedgraph control…
Jirka
  • 63
  • 1
  • 15
0
votes
1 answer

Zedgraph - last minor ticks disappear

I have a simple time series chart from 0 to 5 seconds. GraphPane pane = zedGraph.GraphPane; pane.XAxis.Type = AxisType.Date; pane.XAxis.Scale.Format = "mm:ss.fff"; pane.XAxis.Scale.Min = new XDate(2011, 2, 5, 0, 0, 0,…
Sairus
  • 384
  • 1
  • 15
0
votes
1 answer

Zedgraph Hard code axis

tempTime = new DateTime(1989, 1, 1, Convert.ToInt32(tempTime.ToString("HH")) + 1, 0, 0); string[] labels = new string[(totalMinutes / 60) + 3]; for (int a = 0; a < (totalMinutes / 60) + 3; a++) { tempTime = tempTime.AddHours(1); labels[a] =…
Ryan Chong
  • 180
  • 2
  • 13
0
votes
1 answer

ZedGraph - How to hardcode axis value?

I am using zed graph for my new project, but sadly now i encounter one problem which is, on my graph, my starting x suppose to be 6 pm which is 18 on the x axis, my logic is , when it achieve 24, i want it the x axis value to back to 0 and continue…
Ryan Chong
  • 180
  • 2
  • 13
0
votes
0 answers

Incorrect IF Decision in C# - Zed Graph Out of Range Error - RollingPointPairList

This is really mind-boggling. I am using RollingPointPairList of Zed Graph, and I kept getting an error saying Argument Out of Range. So I decided to use the source code of Zed Graph instead of .dll files. I can now see where the exception is…
Harris M
  • 25
  • 1
  • 2
  • 6
0
votes
1 answer

ZedGraph License

I made a C# Winform application, my application briefly dealing with displaying sensors values during operating time, in addition to some other Input/Output tasks. Let's skip the algorithm part, (nothing special to mention here). For the display…
chouaib
  • 2,763
  • 5
  • 20
  • 35
0
votes
1 answer

C# displayed value is not the same as in debugger

Intro I use ZedGraph to display curves on a graph. I created cross-hairs which display the value of the point it aims in the legend. I can move the cross-hair with the mouse or the keyboard from a point to another. Issue When I move the cross-hair…
Thomas Ayoub
  • 29,063
  • 15
  • 95
  • 142
0
votes
1 answer

Show custom values on zgraph

I have plotted a graph using zedgraph library as shown in figure.On x axis zedgraph automatically plotting values between range in our case 1 to 20 its not showing intermediate values i.e. 1,2,3,4....20 I want show point 1,2,3,4,5...20 as well.How…
Aniket
  • 181
  • 10
0
votes
1 answer

ZedGraph Multiple panes

I am using ZedGraph. I have only one control containing three Panes. I initialize them like this: private void GraphIt() { MasterPane master = zedGraphControl1.MasterPane; master.PaneList.Clear(); // Display the…
Ayman Salah
  • 1,039
  • 14
  • 35
0
votes
1 answer

Zedgraph - determine length of tic on an axis?

In Zedgraph building a line chart. I have some requirements for axes labels which can't be produced automatically so inspired by this other Stackoverflow answer I'm building a custom axis. I can draw the Axis OK and I can place the labels but I…
shearichard
  • 1,095
  • 1
  • 17
  • 35
0
votes
1 answer

how to store datacolumn value in array of double

I want to draw graph in zed graph , which required double[] x, double[] y. I want to take value from data column nd put in double[]x and double[]y. dtarow[0] value put in double[] x , and datarow[1] value put in double[]y. I get row[0] and row[1]…
Dipika
  • 399
  • 1
  • 5
  • 16
0
votes
0 answers

plot more than one graph in zedgraph

I am trying to draw 5 graph on one zedgraph mens one x-asix and 5 y-axis. It works but it not look better. please help me. here is my code what m trying GraphPane myPane = zedGraphControl2.GraphPane; myPane.Title.Text = "Longituidnal…
Dipika
  • 399
  • 1
  • 5
  • 16
0
votes
2 answers

unable to get ZedGraph PointValueHandler event to fire

I've created a PointValueHandler, and added the event using: this.zg1.PointValueEvent += new ZedGraph.ZedGraphControl.PointValueHandler(this.myPointValueHandler2); However myPointValueHandler2 never gets called. I have a similar event for…
mcmillab
  • 2,752
  • 2
  • 23
  • 37
0
votes
1 answer

Axis text isn't printed and coordinates aren't plotted

The following code will only display the standard graph, but will not print the axis text nor plot any of the coordinates. public void JapaneseCandleStick() { //GraphPane myPane = base.GraphPane; GraphPane myPane = new GraphPane(); …
Kishor
  • 29
  • 2
0
votes
1 answer

Setting up ZedGraph to chart analog signal data?

ZedGraph super users, I have done my best working with ZedGraph to make an analog signal chart. I need some help with the finishing touches. Currently the graph "grows" from the left to the right as new data comes in (No real world data yet, just a…
AnotherUser
  • 1,311
  • 1
  • 14
  • 35