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 drawing a line with the mouse

I wrote a code to draw a line using the mouse. On mouse down i save where the user clicked. bool mZgc_MouseDownEvent(ZedGraphControl sender, MouseEventArgs e) { GraphPane graphPane = mZgc.GraphPane; …
OopsUser
  • 4,642
  • 7
  • 46
  • 71
0
votes
2 answers

What is scaledSize (Legend.FontSpec)

I am trying to set the font size of a legend on ZedGraph. However, the size never appears as I set it. I have browsed through the GraphPane.Legend.FontSpec object and found the scaledSize private variable. This appears to be the size that is…
komodosp
  • 3,316
  • 2
  • 30
  • 59
0
votes
1 answer

ZedGraph adjust Y axis to show whole curve

I am new to ZedGraph, however I managed to create simple chart and enabled scrolling along the x axis. My problem is that I cant figure how to force the Y axis to autoadjust to show the whole section of the curve. Graphically depicted I want instead…
m3div0
  • 1,556
  • 3
  • 17
  • 32
0
votes
0 answers

zedGraph Barchart Bars Overlapping Issue

I am using zedGraph to plot BarCharts in C#. I am getting issues related with bar width when I try to plot large amount of data e.g. more than 5 years daily data. The Bars are becoming wider and overlapping. Is there any way to auto scaling the bar…
0
votes
2 answers

Form1_Load() is not executed for drawing a graph

I need to draw a graph in C# by ZedGraph in VS2013. I have created a windowns application project and added Form1.cs as win forms file. But, when I ran the code, only an empty form was created but no graph. In debug mode, I found that Form1_Load()…
user3601704
  • 753
  • 1
  • 14
  • 46
0
votes
1 answer

Graph scaling in ZedGraph

I want to set the scale the graphs related to values that I entered them to textboxes. If I don't enter any value, the graphs should be auto-scaled. Here is the codes that I was trying: var y1 = graphPane1.AddYAxis("YAxis-1"); var y2 =…
0
votes
2 answers

Removing Specific LineItems One By One

I have a program that adds LineItems to a ZedGraph pane whenever data parameters are set and a submit button is pressed. LineItem myCurve = Pane.AddCurve(Title, Data, Color.FromArgb(Random.Next(0, 255), Random.Next(0, 255), Random.Next(0, 255)),…
sooprise
  • 22,657
  • 67
  • 188
  • 276
0
votes
2 answers

Simply Removing A Curve?

I'm having trouble figuring out how to get this simple operation to work. LineItem Curve = Pane.AddCurve(Name,Data,Color.blue,SymbolType.Diamond); zgc.Refresh(); Now how do I remove the curve I just added? Pane.CurveList.Remove()?' If so, how can…
sooprise
  • 22,657
  • 67
  • 188
  • 276
0
votes
1 answer

ZedGraph in C #: no point shown

i am trying ZedGraph in windows form. i imported the dll and it shows in UI designer successfully. when i compile and run the program. it pops up the zedgrah grilled view, but no points on it. could anyone help me see what was wrong? using…
Grey
  • 1,365
  • 4
  • 23
  • 34
0
votes
0 answers

Zedgraph GraphPane doesnt has Chart property

I am begining to use ZedGraph and having a strange problem: compiler (C# VS2010) is telling me that "ZedGraph.GraphPane doesn´t contain a definition for Chart...". Code below: // get a reference to the GraphPane GraphPane myPane =…
glfv
  • 1
0
votes
1 answer

ZedGraph - How to reverse Y asix in line chart

By default, the Y axis will start from bottom in ZedGraph. Now, I want to have a chart will look: y 0 | 10 | 20 | 30 | 40 |--------------x Is it possible to reverse Y asix?
Charla
  • 33
  • 5
0
votes
1 answer

Unable to Plot Serial Data on Y2 Axis Zedgraph

I am making a GUI that reads in serial data, and I want to have the option to choose to plot the data on either the left or right Y axis. I can plot the data on the left y axis, but I am unable to plot it on the Left axis. What is wrong with my…
manateejoe
  • 344
  • 2
  • 6
  • 19
0
votes
1 answer

Multiple curves on Same zedgraph plot

I am trying to read in data from two serial ports, and plot each curve over time, on the same graph. However, when I do this, it connects the curves. How do I keep the two data sets separate but on the same graph? I've seen a lot of solutions…
manateejoe
  • 344
  • 2
  • 6
  • 19
0
votes
1 answer

Zedgraph Horizontal Bar graph with different bar colors C#

I am working on zedgraph and generating a horizontal bar graph. I only want to know if there is any way by which each single bar can be made of different color. The output of the code is acceptable, I only intend on changing the color of the bars…
Zaeem
  • 1
  • 1
  • 2
0
votes
1 answer

C# Zedgraph , graphs jumping

I am using C# and ZedGraph library to draw graph between Time and Temperature. The input values are read from a text file. The graph curve is expected to be progressing but where as the curve is not progressive , it is moving back and forth…
jaycyborg
  • 983
  • 1
  • 8
  • 15