Activity for ZedGraph

  • DS DS posted a comment on discussion Help

    Hello John, Thank you very much for your message. All good, things can easily be overlooked. That's why I asked cautiously. There will be a maximum of 2 graph lines. The blue one shows a current, the red one shows the corresponding voltage. The reference curve is the blue one (current). This current can only be positive, sometimes only negative, or both. It doesn't necessarily have a value that goes through 0. In the example it is between 100 and 2850 amperes. The same applies to the voltage. This...

  • John Vickers John Vickers posted a comment on discussion Help

    Derek, Sorry this had dropped off my radar because I had not seen the source code in your last message. I know it is frustrating when trying to get an answer online and no one is responding! I have it downloaded and compiling on my computer now and will take a look at it. A few questions to help guide behavior: Does this need to work with more than 2 graph lines at a time? Can we set a 0 point for the graph, IE can we define a percentage of the graph height where 0 should lie? For example if we set...

  • DS DS modified a comment on discussion Help

    Hi John, it took a little while to scale down the actual project so that only the problem itself remained. As you can see from the attached picture, the two zero points of the Y/Y2 axis are not at the same height. Therefore, I would like to move the two graphs within the graph pane so that Y0 of the two Y-axes are congruent. Zedgraph probably does not provide such a function as standard. But in this thread (and this is the only one on the www that I could find) it is discussed. Unfortunately the...

  • DS DS posted a comment on discussion Help

    Hi John, it took a little while to scale down the actual project so that only the problem itself remained. As you can see from the attached picture, the two zero points of the Y/Y2 axis are not at the same height. Therefore, I would like to move the two graphs within the graph pane so that Y0 of the two Y-axes are congruent. Zedgraph probably does not provide such a function as standard. But in this thread (and this is the only one on the www that I could find) it is discussed. Unfortunately the...

  • John Vickers John Vickers posted a comment on discussion Help

    Understood, but having abundance of information makes debugging easier. I can work with a vs vb project, so if you can send that ready to show the problem it is having, with an image of the graph you want to produce, I can try to get that working tonight. Even dropping the text from your image in so i dont have to retype it would help. Thanks, John Vickers

  • DS DS posted a comment on discussion Help

    Hello John, thanks for the offer. My problem is not that I generally don't get along with zedgaph, but that some properties are simply not members of zedgraph classes when I translate the above C# code to VB. he same problem probably exists in C#, but I can't test it quickly because I'm only running VS with VB. So I'm wondering, where do these properties come from? Are these legacy? However, I can't find any meaningful information about it.

  • John Vickers John Vickers posted a comment on discussion Help

    I can give you a hand debugging your code, but it is mich easier to start from a sample project that demonstrates your problem. Can you either post or DM me a zip of a sample graph with data as you are seeing it, and describe what you are trying to change on it? I will be able to look at it later this evening if you do. Thanks John Vickers

  • DS DS posted a comment on discussion Help

    Hi hello, I know this is a pretty old thread but maybe people will still read it. I have the exact problem that I'm still using Zedgraph in an older application and I want to make the axes Y and Y2 coincide with the zero point in the graph. I use the latest zedgraph version 5.1.7. and program in VB. Therefore I translated the above code. But unfortunately [.IsMinorOppositeTic] and [.Step] are complained about as not being members of ...Axis. What's more, I can't find any real information on the web...

  • Geoff Greene Geoff Greene posted a comment on discussion Open Discussion

    Not sure if this is better here or as a "help requset, so i apologize for the double post Im using zedgraph in a csharp page to generate a graph. I'd like to try to make it load a custom font (a .ttf file) to use as the font. This is running in an environment in which I do not have access to the standard windows fonts directory. In fact, the only font installed on this machine is courier (yuck). How do I make zedgraph use a font that is not in my c:\windows directory I've looked at microsoft's PrivateFont...

  • Geoff Greene Geoff Greene created ticket #155

    Loading custom fonts

  • Vladimir Baranov Vladimir Baranov modified a comment on discussion Help

    sample: http://eao.myasp.ru

  • Vladimir Baranov Vladimir Baranov posted a comment on discussion Help

    sample: http://eaodash.site

  • Vladimir Baranov Vladimir Baranov modified a comment on discussion Help

    I'm used to VB code. Can you show an example from my code for VB.NET. C# code works fine and shows pie chart on WEB Example: namespace ZG1 { using System; using System.Drawing; using ZedGraph; /// /// Summary description for graph. /// public partial class graph : System.Web.UI.Page { protected void Page_Load(object sender, System.EventArgs e) { } #region Web Form Designer generated code override protected void OnInit(EventArgs e) { // // CODEGEN: This call is required by the ASP.NET Web Form Designer....

  • Vladimir Baranov Vladimir Baranov modified a comment on discussion Help

    I'm used to VB code. Can you show an example from my code for VB.NET. C# code works fine and shows pie chart on WEB Example: using System; using System.Drawing; using ZedGraph; namespace ZG1 { /// /// Summary description for graph. /// public partial class graph : System.Web.UI.Page { protected void Page_Load(object sender, System.EventArgs e) { } #region Web Form Designer generated code override protected void OnInit(EventArgs e) { // // CODEGEN: This call is required by the ASP.NET Web Form Designer....

  • Vladimir Baranov Vladimir Baranov modified a comment on discussion Help

    I'm used to VB code. Can you show an example from my code for VB.NET. C# code works fine and shows pie chart on WEB Example: ================== using System; using System.Drawing; using ZedGraph; namespace ZG1 { /// /// Summary description for graph. /// public partial class graph : System.Web.UI.Page { protected void Page_Load(object sender, System.EventArgs e) { } #region Web Form Designer generated code override protected void OnInit(EventArgs e) { // // CODEGEN: This call is required by the ASP.NET...

  • Bilekas Bilekas posted a comment on discussion Help

    The code you sent isn't the problem. 'Public Event RenderGraph(webObject As ZedGraph.Web.ZedGraphWeb, g As System.Drawing.Graphics, pane As ZedGraph.MasterPane)' is an event, and cannot be called directly. Use a 'RaiseEvent' statement to raise an event. You only sent the subscription Me.ZedGraphWeb1.RenderGraph += New ZedGraph.Web. ZedGraphWebControlEventHandler(AddressOf Me.OnRenderGraph) we have no idea even the input of AddressOf Me.OnRenderGraph nevermind the 'translation' from C#. Without more...

  • Vladimir Baranov Vladimir Baranov modified a comment on discussion Help

    I'm used to VB code. Can you show an example from my code for VB.NET. C# code works fine and shows pie chart on WEB page

  • Vladimir Baranov Vladimir Baranov posted a comment on discussion Help

    I'm used to VB code. Can you show an example from my code for VB.NET

  • Bilekas Bilekas posted a comment on discussion Help

    Hi Vladimir, The error is quite clean actually. RenderGraph is an event.. But you're calling it directly.. You need to share the delegate code in your 'VB translation' before anyone can help. Side note : Why are you converting it ? On Wed, Aug 31, 2022 at 1:06 AM Vladimir Baranov ram954@users.sourceforge.net wrote: I convert ZedGraphWeb code from C# like this: private void InitializeComponent() { this.ZedGraphWeb1.RenderGraph += new ZedGraph.Web.ZedGraphWebControlEventHandler(this.OnRenderGraph);...

  • Vladimir Baranov Vladimir Baranov posted a comment on discussion Help

    I convert ZedGraphWeb code from C# like this: private void InitializeComponent() { this.ZedGraphWeb1.RenderGraph += new ZedGraph.Web.ZedGraphWebControlEventHandler(this.OnRenderGraph); } #endregion In VB.NET code and get: Private Sub InitializeComponent() Me.ZedGraphWeb1.RenderGraph += New ZedGraph.Web.ZedGraphWebControlEventHandler(AddressOf Me.OnRenderGraph) end sub And I get an error: 'Public Event RenderGraph(webObject As ZedGraph.Web.ZedGraphWeb, g As System.Drawing.Graphics, pane As ZedGraph.MasterPane)'...

  • Robert Robison Robert Robison posted a comment on discussion Open Discussion

    Hi, I am building my applications in 64-bit mode and I would like to be able to have ZedGraph operate in 64-bit also. I have downloaded the source and built it as a 64-bit .dll. I get a warning with the linker saying that mscorlib is 32-bit. How do you build ZedGraph in 64-bit mode?

  • Dean Ganczarski Dean Ganczarski created ticket #99

    Display set of points without a line

  • Nick Kendle Nick Kendle posted a comment on discussion Help

    Thank you john, unfortunately as I was 99% of the way there I have removed the 4 individual graphs and redone the whole thing to work with the masterpane. I stll have an exe of the old version which will do at the moment, so its not make or break. Its just SOOOO frustrating.. it would seem like a simple thing to do, but all my various googling pulls up the same sort of results. What is a real pain is that I am so limited in my understanding of classes, events, objects and inheritance, and all the...

  • John Vickers John Vickers posted a comment on discussion Help

    If this project isn't too urgent I can help you fix your issues (probably the week of Christmas) because I am swamped with work right now. If it is more urgent, and you had a version working with 4 separate graphs, my suggestion would be this: 1) Create a function that can set the scroll position of all 4 graphs 2) Subscribe to the scroll event of each graph 3) In each event, read the scroll position, then feed that into the function to set all the graphs to the same scroll position. Doing the master...

  • Nick Kendle Nick Kendle posted a comment on discussion Help

    First post so go easy on me. I am NOT a programmer by training or trade so my code is clunky, but usually effective for testing tools which is what I need. I am trying to create a display consisting of 4 graphpanes on one master pane which load static data with multiple series on each graph. There can be a large number of points so I want to show 400 at a time, starting at point 1, and then scroll through to the end, with all 4 graphs scrolling at the same time. I create the panes, set minx to 0...

  • Boris Aronshtam Boris Aronshtam posted a comment on discussion Help

    John and Jeff, Thank you for the information!

  • John Vickers John Vickers posted a comment on discussion Help

    Jeff is right. You can use the wayback machine to get archives of the samples: https://web.archive.org/web/20051128224526/http://zedgraph.sourceforge.net/linesamples.html You can take a look at some samples I put on GitHub (look at any of my repos starting with ZedGraph): https://github.com/jgvicke If you have a particular graph type you are trying to make people on here may be able to help you. The last resort would be to go with a different approach all together. While I have used ZedGraph in many...

  • Jeff McKim Jeff McKim posted a comment on discussion Help

    Zedgraph doesn't have organized development/support right now and hasn't for some time. It is still has good feature content, particularly when you consider that the baseline is ~11 years old. I don't know that the SourceForge documentation links ever worked as that was the project that was being fleshed out at the time support was dropped. There was a web library independent of SourceForge that had the examples for awhile. You may be able to find that in a web archive. I have a couple times over...

  • Boris Aronshtam Boris Aronshtam posted a comment on discussion Help

    I am new to Zedgraph. Is trying to see the samples. When at http://zedgraph.sourceforge.net/linesamples.html clicked on "View the source code for this chart" got redirected to http://zedgraph.sourceforge.net/source/multiydemo.html. with the following error: An error has been encountered in accessing this page. Server: zedgraph.sourceforge.net URL path: /source/multiydemo.html Error notes: NONE Error type: 404 Request method: GET Request query string: NONE Time: 2019-11-15 18:59:20 UTC (157384436...

  • Emre Erol Emre Erol posted a comment on discussion Help

    I am developing an app and using zedgraph. My XAxis is time axis. When i load my graph to zedgraph control, the control is giving gap from graphic zero point to YAxis boundary in XAxis. I search the documentation and examples but i can't find any solution about this problem. I add an image for more to be descriptive. How can i do this?

  • John Vickers John Vickers posted a comment on discussion Help

    Andy, Take a look at my sample project that demonstrates how to display live data on a scrolling graph with timestamps correctly that don't jump. I suspect it is exactly what you are trying to do. https://github.com/jgvicke/ZedGraph_SineWave By the way Tom's posts were from 2013. On posts that old you are better off starting a new thread instead of tacking onto an old one. John

  • Andy Andy posted a comment on discussion Help

    Hi Tom, have you been fixed the problem...? Cause I have same problems..

  • Andy Andy posted a comment on discussion Help

    Hi John, thank you for your fast respond

  • John Vickers John Vickers posted a comment on discussion Help

    I have moved all my ZedGraph examples to my GitHub account. You can get them here: https://github.com/jgvicke?tab=repositories

  • Andy Andy posted a comment on discussion Help

    Hi, Jhon could you please send me the sinewave.Zip File. Currently I am stuck on date time x axis plot

  • Harjit Singh Harjit Singh posted a comment on discussion Open Discussion

    i have build a application with Start,Pause & Stop functionalities. Let me know if your problem still not resolved Yet!

  • Harjit Singh Harjit Singh posted a comment on discussion Open Discussion

    Is there any way to Add a scrollable vertical line in zedgraph, which will be helpfull to view point values of various points placed in same X-Axis.

  • Mahendra Reddii Mahendra Reddii posted a comment on discussion Help

    hi I want to use zedgraph in Asp.net mvc5 . Actually I tried inin many ways .But I am unable to get the zedgraph control in mvc5 How do I do it. please help me on this .

  • Mahendra Reddii Mahendra Reddii posted a comment on discussion Help

    hi I want to use zedgraph in Asp.net mvc5 . Actually I tried inin many ways .But I am unable to get the zedgraph control in mvc5 How do I do it. please help me on this .

  • James Houx James Houx posted a comment on discussion Open Discussion

    ZedGraph data points are received through the IPointList interface. If you look at this interface, you will see that you can create any kind of data structure you want in your own custom class. All your interface needs to define is an indexer into your data structure. So create your own class that implements IPointList. Then write your code that updates the data inside your class using the logic you described with start and stop functionality. Call AddCurve on the GraphPane and pass in your IPointList...

  • James Houx James Houx posted a comment on discussion Open Discussion

    Peak Counting is typically a local maxima problem. The simplest algorithm divides the time into discrete intervals. For each interval, find the maximum. You will then have one peak for every interval. Then you can plot your peaks. There are other algorithms that get more sophisticated, but how you do it depends on exactly what you consider a peak. For instance, you may want to only count a maxima as a peak if it has a sharp angle that exceeds a certain threshold. In that case, you could apply that...

  • James Houx James Houx posted a comment on discussion Open Discussion

    I've searched and can't find an answer to this question. I could write the code myself to do it, but I don't want to reinvent the wheel. :) Since ZedGraph uses an IPointList and its indexer for internal data access, you can assign any kind of data structure to it and dynamically change the data that ZedGraph receives when it calls the indexer. It's a smart architecture, and naturally, it would be feasible to implement a Level-of-Detail system using a custom IPointList where the number of points is...

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    Hi john, please find the code snippet attached Bitmap bm = new Bitmap(800, 600); Graphics ge = Graphics.FromImage(bm); mypane.AxisChange(ge); bm = mypane.GetImage();

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    I used this function for taking snapshot of a static plot it is working fine. But when i use same code for real time (plot which is not stopped) running continuosly as shown in previous screen shot its saving black zedgraph control image (please refer screenshot)

  • Bilekas Bilekas posted a comment on discussion Help

    Could you provide some code samples that you are trying to use? Il Sab 15 Giu 2019, 12:21 John Vickers jgvicke@users.sourceforge.net ha scritto: In the pane object of your graph, there is a GetImage() function that will return a BMP of the graph. If you meant this function isn't working for you, we would need more detail. John plotting single line-series of zed-graph control using CSV file(Pass time values on x-axis) https://sourceforge.net/p/zedgraph/discussion/392232/thread/15c9bda611/?limit=50#f78a/0272/cd3d...

  • John Vickers John Vickers posted a comment on discussion Help

    In the pane object of your graph, there is a GetImage() function that will return a BMP of the graph. If you meant this function isn't working for you, we would need more detail. John

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    Hi John, Trying to take a snapshot for liveplot zedgraph, Not able to capture the screen properly but same works fine for static data. please suggest how i can achive the same. please find the screenshot attached for reference Thanks in advance Thanks & Regards, Mukesh.

  • Devarshi Pandey Devarshi Pandey posted a comment on ticket #74

    How to use this patch?

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    Hi all, I have to pass seconds or milliseconds on x-axis and sensor data on y-axis. on clicking on start button able to get the value from timer every 1 sec on and shown in text box(txtsec.Text) text. on clicking on stop the timer stops. The scale code is as follows if(!string.IsNullOrWhiteSpace(txtsec.Text)&& !string.IsNullOrEmpty(txtsec.Text)) { int intx_ = Convert.ToInt32(txtsec.Text); int intx_1 = intx_ + 100; // adding 100 milliseconds as major unit. //mypane2.XAxis.Scale.MinorUnit = DateUnit.Millisecond;...

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    Hi all, I have to pass seconds or milliseconds on x-axis and sensor data on y-axis. on clicking on start button able to get the value from timer every 1 sec on and shown in text box(txtsec.Text) text. on clicking on stop the timer stops. The scale code is as follows if(!string.IsNullOrWhiteSpace(txtsec.Text)&& !string.IsNullOrEmpty(txtsec.Text)) { int intx_ = Convert.ToInt32(txtsec.Text); int intx_1 = intx_ + 100; // adding 100 milliseconds as major unit. //mypane2.XAxis.Scale.MinorUnit = DateUnit.Millisecond;...

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    Hi john, Thanks for your support. I am plotting current system time as my X-axis value(in the format HH:MM:SS:fff) and Y value from sensor output. I need to pass X-value in seconds(i.e.. eg:from 0 to 1000) from the time my zedgraphcontrol1 instance started or( from the time my windows form loaded.) I tried paasing format like SS but it takes 1 to 60 sec of current minute and again it starts from 1. to 60 and so on. This need to be started only when my form loads starting from 0 if my form or graph...

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    John, Thanks for reply. I was able to achieve this by adding these lines to my previous code plotpeakcurve.Line.IsVisible = false; Fill fill = new Fill(Color.Red); plotpeakcurve.Symbol.Fill = fill; plotpeakcurve.Symbol.Size = 15; now peaks are plotted exactly. Regards, Mukesh.

  • John Vickers John Vickers posted a comment on discussion Help

    Mukesh, I updated my scrolling example with setting a peak dot. Redownload the current version from GitHub and run it to see if it does what you are looking for. If it does take a look at the last 2 commits to see the extra parts I added to make it work. https://github.com/jgvicke/ZedGraph_SineWave/commits/master I think you are trying to make it harder than it needs to be. By the way, Zedgraph will put the first curve added to the pane on top of all the others, so in my code if you reverse the order...

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    Hi john, Thanks for the logic :) I followed similar approach and able to save the peaks in to two separate X_element and Y_element double lists. Tried to loop through both the lists corresponding respective X,Y elements But the problem is mypane curvelist is retaining the major list points so it is adding the my peaks with the all elements present in csv data and plotting in the same curve how ever i have given different curves and panes but the control is same zedgraphcontrol. I tries clearing the...

  • John Vickers John Vickers posted a comment on discussion Help

    Mukesh, You wouldn't want a function to test the entire series and return points, you would want to add points as they come in live. You have one series for the main graph that is a line without points. Make a second series that is a point without lines, of a different color. This will be your "peak" markers. Plot them both on the same graph with the peak line on top (there is a z parameter for the lines you can use to order them, or you can just add the peak line after the data line). Now, as points...

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    A peak is defined as a point which is higher that both neighbors or infinity. Non-infinite end points are excluded as a peak. I am looking for function which is similar to MATLAB find peaks() Using Zedgraph lineseries. Any suggetion would be very helpful. Thanks in advance, Mukesh.

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    Hi John, Thanks for your time and effort. Iam going to call a peak as- How many threshold values in my plot, threshold is given by user in a text box. eg: If iam giving a threshold as 40 all the points above 40 should be marked (Y data will be value from a sensor ranging from 0- 200) (X data time) I am not using any Z varialbe in plot. please find the screenshot attached for reference. I tried using some algorithm available in general in c#(by keeping all the X and Y variables in separate arrays)...

  • John Vickers John Vickers posted a comment on discussion Help

    Mukesh, There are lots of ways to find peaks, the hardest part is figuring out how you want to determine peaks. Simple is if the last point was higher than the points to either side, it was a local peak. You may make rules that a peak has to be x higher than the troughs around it. You could say anything over Y value is a peak. You first have to be able to describe what you are going to call a peak, then you can look at programming it. Easiest way to mark them is have a second point pair list that...

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    Hi John, Thanks for you support. Able to slove this issue with the help of code posted as above by changing list as instance of pointpairlist to Ipointpairlist. Iam trying to 1.calculate number of peaks, and 2. mark peaks manually in the graph plotted through CSV file. Any initial suggestion or example code will be helpful. Thanks in advance. Regards, Mukesh.

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    hello John, should i need to add any further code like myPane.XAxis.Scale.Min myPane.XAxis.Scale.Max myPane.XAxis.Scale.MinorUnit myPane.XAxis.Scale.MajorUnit myPane.XAxis.Scale.MinorStep myPane.XAxis.Scale.MajorStep Thanks in advance Regards, Mukesh.

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    Hello John, Thanks for your reply. I tried the steps specified still facing the same issue as before. please find the screen shots attached for reference_(please feel free to specify any furthur data required ) Thanks in advance. Mukesh.

  • John Vickers John Vickers posted a comment on discussion Help

    First thing to check is that the date is importing correctly. Does your c3 variable have the correct C# DateTime object that you expect when you put a breakpoint there? If you are getting correct datetime into the c# object, next I would check how you finish the graph. If you are not doing a live graph (just loading a data set), I would not set your bounds at the top with the scale min and max. After you have all the data added to your graph, call the axischange function, then call zedGraphControl1.Invalidate();....

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    Hello John, Thanks for the reply. I tried similarly as follows but not able to pass the time as specified format on x-axis,There was no error in executing the code but no output when i run the code only x,y axis are rescaled with 10 interval 0,10,20 etc no issue with getting data when i pass 10 as x-axis i was able see a line with all the points specficed as y in csv file. when i am debuggind able to see _currentTime values in the format specified eg: mypane.XAxis.Type = AxisType.Date; mypane.XAxis.Scale.Format...

  • John Vickers John Vickers posted a comment on discussion Help

    Mukesh, Go check out my scrolling graph example here: https://github.com/jgvicke/ZedGraph_SineWave It deals with graphing real time data with timestamps. You will need to convert your time string to a real time in C#, something like: DateTime dateTime = DateTime.ParseExact(time, "yyyy-MM-dd h:mm:ss tt", CultureInfo.InvariantCulture); Then use the xdate functions in zedgraph to convert a C# date into the date format for the zedgraph point. John

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Help

    I am trying to plot zedgraph line series from a CSV data file containing data as follows 2019-04-10 5:38:22 PM,41 2019-04-10 5:38:23 PM,42 2019-04-10 5:38:23 PM,42 2019-04-10 5:38:23 PM,43 Reading CSV file is not a problem, I am having issue in assigning the time value to X-axis in zedgraph. Using c# Visualstudio 2015. Any suggestion or help would be appreciated. Thanks in advance. Thanks & Regards, Mukesh.

  • John Vickers John Vickers posted a comment on discussion Help

    I will add that it sounds like you are trying to get too much data on a single chart. In general, most people cannot digest very complex live charts, you are a lot better off keeping each chart simple, but having multiple charts to look at. In most commercial software, it is rare to even see 2 real time variables being plotted on the same strip chart. Can you link an image of what you are trying to achieve? Even a hand drawn sample of what you are thinking would be useful. John

  • Mukesh kumar yadav Mukesh kumar yadav posted a comment on discussion Open Discussion

    I am ploting data from serial port. Want to detect peak count and manually marking peaks code wrt time on xaxis. Any suggestions or example code would be very helpful. -Thanks & Regards, Mukesh.

  • Jeff McKim Jeff McKim posted a comment on discussion Help

    There is a radar plot scheme available. However, I've not used it and it doesn't seem to be in what's left of the online documentaion. I did find this reference to it. Unless someone answers your question here or you can unearth something in the depths of google, you may need to go in another direction. https://sourceforge.net/p/zedgraph/discussion/392231/thread/d74e10c5/

  • Burak Gündüz Burak Gündüz modified a comment on discussion Help

    I want to draw graphics in real time. There are real-time data from 4 arduino. These are x, y, z, v values. How can I add zedgraph 4 y axis ?

  • Burak Gündüz Burak Gündüz posted a comment on discussion Help

    I want to draw graphics in real time. There are real-time data from 4 arduino. These are x, y, z, v values. How can I add zedgraph 4 y axis ?

  • Burak Gündüz Burak Gündüz modified a comment on discussion Help

  • divyasri divyasri posted a comment on discussion Help

    Hello john, I reffered your sinwave application you are using generateData_Tick. I am working with real time data from serial port with respect to time. my application need to pause adding real- time data from serial port my current instance of ZGC1 should be retained after clicking on start again it should start adding all current points to my ZGC1. iam saving all the datapoints in list of zedgraphcontrol to CSV file after clicking on stop. so after clicking on stop my instance should be cleared...

  • divyasri divyasri posted a comment on discussion Help

    Thanks @John vickers, will do the same.

  • John Vickers John Vickers posted a comment on discussion Help

    divya, As Jeff said in his post, you seem to be asking the forum to write your program for you when there are lots of examples online of exactly what you want to do. Heck, I even have an example in my GitHub Repos that would get you pretty close if you had even bothered to look at my other examples. The SineWave repo has a scrolling sine wave that is pausable. Take a few minutes to actually google something, then post help requests when you really hit a wall. John Vickers

  • divyasri divyasri posted a comment on discussion Help

    Thanks for you reply Jeff Mckim iam using a data received handler event till i get the data from my serialport points will be added to my zedgraph lineseries curve list.(WINFORMS APPLICATION) Iam saving the data to txt file after stoping the recording,how ever my data recording starts from the application start time but i need to start the data recording when i click on a start button. when i click pause button it should stop plotting and saving as well when i click start button again after pause...

  • Jeff McKim Jeff McKim posted a comment on discussion Help

    Not meaning to slap your wrists here but usually there's a line on boards such as this that runs between "How do I do SomeActivity?" and "How do I write my app?" People can help with the first because the question is limited in scope and specific. The second one is impossible for a number of reasons. I'm afraid your new question as its framed falls into the latter category. I'm afraid your latest question crosses into the second category. I'll give you a couple directions to look in. However, I researched...

  • divyasri divyasri posted a comment on discussion Help

    Hi all, HELP REGARDING -START-STOP-PAUSE- FUNCTIONALITIES OF SAME LINESERIES IN ZEDGRAPH (CSHARP) Iam trying to create a real time zedgraph lineseries in windows application taking data from aurdino board through serialport. graph need to be plotted continously when my winforms application starts and it need to start recording the data only when user clicks on start button and should stop when user clicks stop. It should support pause functionality also if i click on pause & again on start it should...

  • divyasri divyasri posted a comment on discussion Help

    Thank you @john vickers user link was helpful. I was able to acheive this using zedGraphControl1.MasterPane.PaneList[0].YAxis.Scale.Max = Convert.ToDouble(numericUpDown3.Value);

  • divyasri divyasri posted a comment on discussion Open Discussion

    Hi all, Iam trying to create a real time zedgraph lineseries in windows application taking data from aurdino board through serialport. graph need to be plotted continously when my winforms application starts and it need to start recording the data only when user clicks on start button and should stop when user clicks stop. It should support pause functionality also if i click on pause & again on start it should resume previous curve and data to my previous lineseries skipping the values at the time...

  • Burak Gündüz Burak Gündüz modified a comment on discussion Help

    Hi, I want to change the time of the graph. For example, there will be 3 buttons. 1.button = second , 2.button = minute 3.button=hours. When I press these buttons, the data will come at this time. How can I do it ?

  • Burak Gündüz Burak Gündüz modified a comment on discussion Help

    Hi, I want to change the time of the graph. For example, there will be 3 buttons. 1.button = second , 2.button = minute 3.button=saat. When I press these buttons, the data will come at this time. How can I do it ?

  • John Vickers John Vickers posted a comment on discussion Help

    Did you tell the graph to refresh after? You should have something like this: zedGraphControl1.AxisChange(); zedGraphControl1.Invalidate(); If so can you post your whole code to debug, or at least a functional sample of what you are trying to do? You can check out my example applications here: https://github.com/jgvicke?tab=repositories Hope that helps! John

  • divyasri divyasri posted a comment on discussion Help

    how to rescale and fix max and min values of axis i tried mypane.XAxis.Scale.Max = Convert.ToDouble(numericUpDown2.Value); mypane.XAxis.Scale.Min = Convert.ToDouble(numericUpDown1.Value); any help is appreciated Thanks in advance.

  • Burak Gündüz Burak Gündüz posted a comment on discussion Help

    Hi, I want to draw a value from Real Time using ZedGraph. Example value is pot[2]. There will be 4 buttons. 1. second 2. minutes 3.hour. 4. Draw Graphics. When I press the button to draw the graph, the value will come in second but example 10 minutes after data began to accumulate .When I press the 2. button (minutes) , the graph should be shown in data-minutes. How can I do something like that ?

  • gilles bassard gilles bassard posted a comment on discussion Open Discussion

    I collect reboot per computer for 1 month and I want to graph it It try to graph information in X i would like to have computer name (so Text) and in Y I would like to get Date info. GraphPane myPane = zg.GraphPane; myPane.YAxis.Type = AxisType.Date; myPane.XAxis.Scale.TextLabels = computerList.ToArray(); LineItem myCurve=null; myCurve.Line.IsVisible = false; myPane.YAxis.Scale.Format = dateformat; myPane.XAxis.Type = AxisType.Text; foreach (string computer in computerList) { DateTime[] dates = Array.ConvertAll<DataRow,...

  • Joe Pool Joe Pool posted a comment on discussion Open Discussion

    I haven't used ZedGraph in a long time. What version do you have? I downloaded the control, and then tried to use your code. It does not compile as written because pane is not defined. Also, where and how are you calling GetImage()? Can you post up some working code? Example: private ZedGraph.ZedGraphControl z1; public ZedGraphForm() { z1 = new ZedGraphControl(); z1.Location = new System.Drawing.Point(0, 0); z1.Name = "zedGraphControl1"; z1.TabIndex = 0; InitializeComponent(); zpath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);...

  • Ian McCarthy Ian McCarthy posted a comment on discussion Open Discussion

    I've got a ZedGraph with several LineItems and a single BarItem and this renders as expected on the screen (bar item appears as a solid two-colour bar across the full width of the graph, red/green for moving/stationary). The colour of each individual bar point is determined by the Z value (1/0). The settings used were: pane.BarSettings.MinClusterGap = 0.0F; pane.BarSettings.MinBarGap = 0.0F; Color[] colours = new Color[] { Color.Red, Color.Green }; bar.Bar.Fill = new Fill(colours); bar.Bar.Fill.SecondaryValueGradientColor...

  • John Vickers John Vickers posted a comment on discussion Help

    The only thing I can think of is you accidently modified my code. The only line with that function, there are 4 arguments. If VS is seeing 3 arguments, maybe you accidently deleted a comma. John

  • buddhafragt buddhafragt posted a comment on discussion Help

    ... not the same error.... for "_myPane.FindNearestObject(new PointF(e.X, e.Y), this.CreateGraphics(), out object nearestobject, out int index);" I get now the error: "No overload for method "findNearestObject" takes 3 arguments" Any suggestion?

  • buddhafragt buddhafragt posted a comment on discussion Help

    I try to install with NuGet Zedgraph library 5.1.5 and Zedgraph 5.1.7, but with booth I get the same errors.

  • buddhafragt buddhafragt posted a comment on discussion Help

    Hi John, I did as you mentioned, but still the same error!

  • John Vickers John Vickers posted a comment on discussion Help

    I just downloaded my source code from GitHub to see what you would be seeing and evidently it didn't carry the ZedGraph DLL with it. Do this: 1) Open the solution 2) Right click on the solution in the solution explorer 3) Click "Manage NuGet Packages for Solution" 4) Click "Browse" 5) Search for ZedGraph 6) Install it into the solution 7) Clean and Build the project Let me know if you still have errors because this worked just fine for me. Thanks, John Vickers

  • buddhafragt buddhafragt posted a comment on discussion Help

    Hi John, I have checked your source code example! But I got the "nearestobject" error. Google was not my friend in this case, I have no idea, what is wrong.... Maybe you can help? Michael

  • John Vickers John Vickers posted a comment on discussion Help

    Michael, You should check my source code example, it will work for you. https://github.com/jgvicke/ZedGraph_DirectPointEdit John Vickers

  • buddhafragt buddhafragt posted a comment on discussion Help

    Hello Libor, I try out your sample code and try to compile it with Visual Studio 2010. But I got errors.... the expession "nearestobject" is invalid. What is wrong? Greetings, Michael

  • ashish kumar ashish kumar modified a comment on discussion Open Discussion

    Hi All, I have implemented ZedGraph in windows application (c#) and its working great. But facing one problem in auto scroll section. In first one minutes section candle stick graph generate one by one in the panel on each second. Once the time reached to 60 second, application starts scrolling. In next each tick, application generating new candle and graph moving forward to x axis. As the time increased slowly and gradually new graph generation position shifted towards left side (as shown in the...

  • ashish kumar ashish kumar posted a comment on discussion Open Discussion

    Hello All, I have implemented ZedGraph in windows application (c#) and its working great. But facing one problem in auto scroll section. In first one minutes section candle stick graph generate one by one in the panel on each second. Once the time reached to 60 second, application starts scrolling. In next each tick, application generating new candle and graph moving forward to x axis. As the time increased slowly and gradually new graph generation position shifted towards left side (as shown in...

  • Michel Coene Michel Coene created ticket #98

    Dutch and german translation added

  • Eric T Larson Eric T Larson posted a comment on discussion Help

    The best sample I could give you is the ZGControlTest.sln from the zedgraph_sample_projects_5.1.2.zip. You might be familiar with that:-) When hovering over the points it is the font (in particular the size) used to show the point values that I want to change. I think I have tried all the fonts I could find under zedgraph, pane, chart, curve, label, etc. in order to change the font without any luck. Eric

  • John Vickers John Vickers posted a comment on discussion Help

    If you can post a sample project with how you have it now, I will see if I can find the setting you are missing. John Vickers

1 >