zedgraph

ZedGraph - disabling the image edge gradient

How to disable the gradient blurring of the images displayed using ZedGraph? I'm creating a plot where I use a bitmap as a background for other curves: ImageObj img = new ImageObj(someBitmap, coords, CoordType.AxisXYScale, AlignH.Center, AlignV.Center); img.ZOrder = ZOrder.E_BehindCurves; img.IsClippedToChartRect = tr...

Equal scale for both of X and Y in Zedgraph chart

Based on my experience with Zedgraph I could not set both of X and Y axes scale same to have a correct scatter graph! Assume we have a square grid of 10x10m cells in which each cell is a square shape 1x1m. when we try to draw points of such data, the output is not acceptable because each axis scaled to different scale. It is worse when w...

Extend Zedgraph to produce SVG

Is there any charting component that produce SVG chart? I had work with Zedgraph, any idea how to extend Zedgraph to produce SVG/xml output? ...

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 want to draw my own tics. To do this I'd like to know the colour/pen width/size etc of the t...

Can i use zedGraph in windows mobile forms(visual studio 08) ?

I want to draw graphs in my mobile application but m not able to use zedgraph.. it says its unusable in mobile forms.. any suggestions ...

Lock axis in ZedGraph

Hi, I've used ZedGraph to plot data from several sources with a single click. I need the Y-axes to always have the same max and min-values for each plot. I need this to be able to see changes between datasets as I flip through them. In my case, it would not make sense to plot data from several sources in one graph. I've tried to set ax...

Zedgraph textobj X location depends on text length?

I have a Zedgraph textobj which I want to place always in the same x, y position (ASP.NET image). I noticed that the text doesn't always show in the same starting x position. It shifts depending on the text's length. I tried to have the text to have the same length by padding it with spaces. It helped a little but the result is not alway...

Zedgraph- Force curve graph to start from y-axis for datetime x points

In Zedgraph (asp.net) I have a datapoint list where the x values are of datetime. When the curve is drawn, the start of the graph does not begin from the y-axis. There's a gap between the y-axis and the first point. I am using XAxis.Scale.MajorUnit = DateUnit.Day. I see a date tic label at the y-axis level which is a day before the day ...

ZedGraph - How to force first and last bars have x-axis labels?

Using Zedgraph (asp.net). I have a bar graph based on datetime x points. The first bar does not have a label. The first label is at the y-axis corresponding to a day before my first day point. I am not too concerned about this. However the second label is at the second bar. I need the first bar to have a label. I do have MyPane.XAxis.Sca...

ZedGraph in C #: no point shown.

Hey; 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 System; using System.Collections.Generic; using System.ComponentModel; using System.Data; u...

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 I set an object equal to an existing curve to use as a parameter of method Remove()? ...

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)), SymbolType.Diamond); So that's all well and good. My problem is that I want to allow my ...

Urgent problem with ZedGraphControl

Hey all, I have a big problem with ZedGraph Control, it doesn't respond to invalidate through background worker and I'm usnig invoke, what can I do???? ...

.NET Open Source Contour Plotting

I am looking for an Open Source .NET Library (or wrapper to a library) that will create contour plots from a set of values along a grid/mesh. ZedGraph is the closest thing I could find (http://zedgraph.org/). It would also be great if it could export to EPS. ...

ZedGraph C# bar chart - how to check which bar was clicked by mouse?

Hi, I am using ZedGraph to draw my plots in C#. I need to know which bar (in bar chart) was clicked by a mouse. How can I do that? Is there any way to get a bar by a point and for example change bar`s color? ...

zedgraph on resize?

How can I access the event that is triggered when a graph pane is resized? After each resize, I want to fix the text size on the title and labels so they don't get huge when the window is maximized. Thanks! ...

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. ...

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 this is correct, but this is what I want } } How can I accomplish this? ...

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! ...

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 essential to the program. Is there any way to optimize the efficiency of ZGC.Refresh() so my p...