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
6
votes
2 answers

ZedGraph vertical lines with LineObj issue

I have a ZedGraphControl with a few curves in it and I want to add vertical lines at some fixed x-positions. The lines should of course only be inside the actual graph area. I tried following LineObj line = new LineObj(Color.Black, xPos,…
HischT
  • 933
  • 1
  • 9
  • 26
6
votes
3 answers

How to bring specific curves in-front in ZedGraph

I have two curves on the zedgraph control, after plotting both the curves... PointPairList thresholdList = new PointPairList(); PointPairList powerList = new PointPairList(); private void plotPower() { // Create an object to access ZedGraph…
SanVEE
  • 2,009
  • 5
  • 34
  • 55
6
votes
1 answer

ZedGraph custom graph

I want to make wtih ZedGraph following dynamically chart: How to make ZedGraph axes reverse and and time axis? Thanks UPD 1: I have to try with following code: GraphPane myPane = zg1.GraphPane; myPane.YAxis.Type = AxisType.Date; …
amaranth
  • 979
  • 2
  • 22
  • 40
5
votes
2 answers

How can I avoid that ZedGraph relabels my YAxis, dividing by 1000?

I am creating a C# visual studio forms application that uses zedgraph to chart the data that the program collects but I am running into the following issue when plotting the data: My y-axis values are usually in the 100,000+ range so when zed graph…
Stewart Dale
  • 361
  • 1
  • 5
  • 12
5
votes
3 answers

Clear ZedGraph Data

I am using ZedGraph on a windows form to display bar chart. Following code executes when user click on a button. zg1.GraphPane.AddBar("Series", null, y, Color.Red); It adds an extra bar every time user click on button. I am looking for a way to…
Manjoor
  • 4,091
  • 10
  • 43
  • 67
5
votes
1 answer

Draw date on X axis and time on Y axis using ZedGraph and C#

In ZedGraph, how do I draw a time (like 00:00, 02:00, 04:00, etc.) on the Y axis and date (like 12-Apr-11, 13-Apr-11, 14-Apr-11, etc.) on the X axis? The bar settings has been set to BarType.Stack. Sample code will be very helpful.
Prasad
  • 1,847
  • 5
  • 21
  • 26
5
votes
1 answer

ZedGraph filling areas

I am using the ZedGraph control and want to fill one side of the graph function with some color and other side with other color. PointPairList list1 = new PointPairList(); list1.Add(0, 4); list1.Add(4, 0); LineItem myCurve =…
Sergey
  • 933
  • 2
  • 19
  • 48
5
votes
2 answers

How to disable the zooming by the mousewheel for ZedGraph

I want to display a non-zoomable ZedGraph control. How do I disable the mousewheel zooming function in ZedGraph?
iEmo
  • 81
  • 1
  • 3
5
votes
1 answer

Zedgraph X-axis scaling values

I would like to increase the values shown in X-axis of a graph I am working on, in such a way: X-axis starts in 0.125, then it shows 0.250, 0.5, 1.0, and then the numbers are 1.5, 2, 3,4,5,6,8,12 as in following image (of course the graph is…
edgarmtze
  • 24,683
  • 80
  • 235
  • 386
5
votes
1 answer

How to Create a ZedGraph Static Label

I want to add a logo or my software name in the bottom right corner of my graph. I used TextObj but the problem is that its location changes by changing graph scale by mouse wheel. I should use another object but i don't know what it is. please help…
5
votes
1 answer

Zedgraph - Set Min/Max values on an axis permanently

I am working on a zedgraph where the Y-axis is a percentage value. I want the min and max values to be 0/100 respectively. I can set this via the GraphPane.YAxis.Scale.Min and Max properties, and this works fine. However, if the user does the…
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176
5
votes
1 answer

Showing point values by default on ZedGraph

I'm building and displaying a ZedGraph in a WinForm. When I rightclick on the graph, there is an option for "show point values". When that's enabled, hovering over a point will give the X/Y values for that point. Is there a way to have this enabled…
Stealth Rabbi
  • 10,156
  • 22
  • 100
  • 176
4
votes
2 answers

How to display labels in each point in ZedGraph?

How can I display labels for each point plotted in a ZedGraph chart?
eKek0
  • 23,005
  • 25
  • 91
  • 119
4
votes
2 answers

Zed-Graph Set scale to default programmatically

I've got a winforms application which uses zed-graph library to plot graphs. When I right-click on the control (while application is running) a context menu shows up and I can choose Set Scale to default. How do I achive this Set Scale to…
StuffHappens
  • 6,457
  • 13
  • 70
  • 95
4
votes
2 answers

Remapping Mouse Controls with Zedgraph?

I am using ZedGraph and I want to zoom to a selected area by holding down Ctrl and dragging the box with the left mouse button instead of clicking and dragging with the middle mouse button. The default behavior is to zoom with just the left mouse…
Jared
1
2
3
29 30