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
3
votes
0 answers

Zooming in Zedgraph.web

Is it possible to use interactive zooming (dragging a rectangle with the mouse) in the Web version of Zedgraph? Any pointer on how to best implement it? Thanks!
werner
  • 377
  • 2
  • 10
3
votes
2 answers

Removing label lines from ZedGraph pie-chart

I am using ZedGraph to create a pie chart, and adding items to it using the AddPieSlice() method, all overloads of which require a label parameter. I pass in null for this as I don't want any labels for the segments. However the graph still draws a…
Tony Oldfield
  • 33
  • 1
  • 3
3
votes
1 answer

Adding 2 graphs to same pane in Zedgraph

I am using pane to draw Candle sticks (AddJapaneseCandleStick): XAxis = AxisType.DateAsOrdinal; Everything till this point works perfect. Problem: I would like to add another curve (simple linear graph) to the same pane Xaxis are dates as well and…
Guy
  • 31
  • 3
3
votes
3 answers

Using a complex Winforms control like ZedGraph in WPF with MVVM design

I am building a WPF desktop application built on the MVVM pattern. I want to display a number of graphs, and have decided on the old ZedGraph library, as I am familiar with it and there does not seem to be a better option available at the moment…
Pieter Müller
  • 4,573
  • 6
  • 38
  • 54
3
votes
1 answer

Show x, y and curve names when cursor on the graph data in ZedGraph in C#

I try to show X,Y and the name of the curve which was drawn on the graph when cursor comes on it. I used zedGraphControl1.IsShowPointValues = true; but it isn't enough. I need also curve name. When the cursor is on the curve in the graph…
derya
  • 65
  • 3
  • 5
3
votes
0 answers

Microsoft.Scripting.ArgumentTypeException: expected Fill, got Fill

I'm currently writing a GUI program using winform with zedgraph library in ironpython, and I got two problems. I tried to change the background color of my graph GUI, using # Color Fills self.my_pane.Fill =…
whtitefall
  • 631
  • 9
  • 16
3
votes
0 answers

ZedGraph Not Found GraphPane.YAxisList Method

I want to draw 3 Y Axis my GraphPane. I saw the examples. Examples are saying below; YAxis yAxis3 = new YAxis( "Distance, m" ); myPane.YAxisList.Add( yAxis3 ); But myPane does not has YAxisList method. You can see the screenshot below;
Emre Erol
  • 470
  • 1
  • 7
  • 25
3
votes
1 answer

Zedgraph FillType.GradientByY solid

I have a horizontal bar which I want to change colour when in range, which works, however the bar has a gradient and can see how to disable the gradient and change colour. Color[] colors = new Color[] { Color.Red, Color.Green }; BarItem myBar =…
chasher
  • 149
  • 11
3
votes
2 answers

How do I format the Y axis to show 2000 instead of 2 with a label of MyLabel(10^3)?

Using ZedGraph, how do I format the Y axis to show 2000 instead of 2 with a label of MyLabel(10^3)?
Jim Fred
  • 1,076
  • 13
  • 27
3
votes
1 answer

Trying to create a histogram with ZedGraph

I am trying to create a histogram with ZedGraph. The bars and data are all good, the only thing needed is my bars to be between the tics instead of directly on the tics. Sample data: 1, 4 2, 8 3, 1 Means that I have: 4 items that are >= 0 and < 1 8…
Bruno
  • 4,685
  • 7
  • 54
  • 105
3
votes
3 answers

ZedGraph - How to make a horizontal line drag-able?

I have some straight horizontal lines that I want the user be able to drag vertically. How would this be possible? I think the best parameter for line selection would be a fixed number of pixels near the line. So if mouse is +/- 2 pixels, I should…
bretddog
  • 5,411
  • 11
  • 63
  • 111
3
votes
1 answer

ZedGraph Axis labels

I have two questions about axis labels: How do I make a label at the Y2-axis, that shows a highlighted label following the dynamic price (y2-value) of the last bar/candlestick? As the red label in this example: And possibly also the same on…
bretddog
  • 5,411
  • 11
  • 63
  • 111
3
votes
2 answers

ZedGraph MajorGrid and MinorGrid LineStyle

I just wonder if anyone knows how to change the LineStyle of the Major and Minor grid for a ZedGraph? For example I have: graphPane.XAxis.MinorGrid.IsVisible = true; I want something along this line: graphPane.XAxis.MinorGrid.LineStyle => solid…
bchu1392
  • 59
  • 2
  • 8
3
votes
2 answers

How to add real-time data in a dual-Y-axis ZedGraph graph using C#?

For my project, I need to add and update real-time data to my dual y-axis graph. The Y and Y2 values share the same X value, and I created it already. Now I have a function that adds the new point pairs to the curve lists. Here is my problem: My Y…
HiggleWig
  • 121
  • 1
  • 1
  • 6
3
votes
1 answer

How to set the range of Y-axes in Zedgraph?

I want to set the max and min values of the axes. Following code are valid for only one Y-Axis. I want to set 3 Y-Axis. graphPane1.YAxis.Scale.Min = 0; graphPane1.YAxis.Scale.Max = 100; Here is my codes: var y1 =…