Results 1 to 3 of 3

Thread: [RESOLVED] ZedGraph _ help

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2007
    Location
    Sweden
    Posts
    359

    Resolved [RESOLVED] ZedGraph _ help

    Hi
    Another Zedgraph question. Does anybody know if there's a way to just display the latest Symbol when drawing a graph.
    My app displays "real time" data from a pointPairlist and I want one graph just to be a + mark with no trace.

    Code:
     Dim myCurve As LineItem = m_graphPane.AddCurve("", m_pointsList, Color.Red, SymbolType.Plus)
    This will show a red line with a + with every pointpair, I just want to display the latest pointpair, as an +.

  2. #2
    PowerPoster SJWhiteley's Avatar
    Join Date
    Feb 2009
    Location
    South of the Mason-Dixon Line
    Posts
    2,256

    Re: ZedGraph _ help

    Have you tried the ZedGraph forums? They may be in a better position to help.

    http://sourceforge.net/forum/?group_id=114675
    "Ok, my response to that is pending a Google search" - Bucky Katt.
    "There are two types of people in the world: Those who can extrapolate from incomplete data sets." - Unk.
    "Before you can 'think outside the box' you need to understand where the box is."

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2007
    Location
    Sweden
    Posts
    359

    Re: ZedGraph _ help

    Hi
    Yes you're right. I did find my own way. I can't tell that I'm proud of it but it worked for me.

    1. First I must have a PointPairList, with X and Y values.
    2. Then I must have a timer that takes the one PointPair, copy that to an other list.
    3. That list should only hold one PointPair, meaning I delete the pair after it's used.

    This maybe ugly way will then only display the symbol of the graph. Other words a moving + in realtime.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width