|
-
Apr 19th, 2009, 01:26 PM
#1
Thread Starter
Hyperactive Member
[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 +.
-
Apr 20th, 2009, 09:20 AM
#2
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."
-
Apr 21st, 2009, 12:06 PM
#3
Thread Starter
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|