Page 1 of 1

2D strip chart

Posted: Wed Feb 15, 2006 2:32 pm
by 8572663
Is there an built in way to implement 2 strip chart using the TColorGridSeries? I have a stream of data that I want to display column by column as a moving pixel plot. Is there an example of this?

Posted: Wed Feb 15, 2006 3:18 pm
by narcis
Hi leaf,

Yes, there's an example of that at TeeChart features demo. The example is What's New?\Welcome!\New in Series\ColorGrid RealTime.

Posted: Wed Feb 15, 2006 11:34 pm
by 8572663
Thanks for your response.

I saw that example and have a couple of comments.

1. While that example is running, use the cursor and zoom in on an area. When youi do that, it stops updating.

2. In orde to speed the charting up, I would like to minimize the number of points in the chart. Is there an easy way to remove points from the beginning of the data set while adding to the end so that you have the appearance of a scrolling chart? Say, only add 50 columns of data and then start removing data from one end while adding to the other.

I use the XValues.Delete method (and the same for the Y and Z values) to remove the data in the beginning of the data set. Is this the right function to use?

3. In the example, you call the ColorGrid.Clear method. THe probelm I have with this is that it resets all ColorGrid parameters. For example, If you change the palette colors then call the Clear method, your colors will be reset.

4. Has anyone started working the problems with the TColorGridSeries? This plot type is a necessary for my application and there is SO many known problems. I spend most of my time trying to come up with work arounds. Most problems have been know for more than a year.

Thanks in advance...

Posted: Tue Feb 21, 2006 9:48 am
by Pep
Hi,
1. While that example is running, use the cursor and zoom in on an area. When youi do that, it stops updating.
Yes, but it does not stop adding data, I think this could be changed in the OnZoom event (adjust the axis).
2. In orde to speed the charting up, I would like to minimize the number of points in the chart. Is there an easy way to remove points from the beginning of the data set while adding to the end so that you have the appearance of a scrolling chart? Say, only add 50 columns of data and then start removing data from one end while adding to the other.

I use the XValues.Delete method (and the same for the Y and Z values) to remove the data in the beginning of the data set. Is this the right function to use?
Yes, this is one way to do this using this Series type, you should be able to do this using similar technique as in the example you can find in the Demo Features project named "Fast Delete and Fas pen", but instead of using Delete method, you will have to remove the points accesing to the the ValueLists or the XValues.Delete, etc... as you said.
[/quote]
3. In the example, you call the ColorGrid.Clear method. THe probelm I have with this is that it resets all ColorGrid parameters. For example, If you change the palette colors then call the Clear method, your colors will be reset.
Yes, a way around for this, to not have to assign the palette colors again could be do delete the points using :
series1.Delete(0,Series1.Count);
4. Has anyone started working the problems with the TColorGridSeries? This plot type is a necessary for my application and there is SO many known problems. I spend most of my time trying to come up with work arounds. Most problems have been know for more than a year.
We're continuously trying to improve and fix the problems/bugs, but please if any is very special for you let us know which is and we'll try to change the priority.

Posted: Mon Apr 17, 2006 2:38 pm
by 8572663
The bigest problem is the speed if IrregularGrid is true. I have posted many times regarding this issue and there seems to be no good answer. I have images with data that center around zero. In order to get negative numbers displayed I have to set the IrregularGrid property. This brings the plot speed to a CRAWL! I can't pan, zoom or anything that causes the plot to repaint. This has a huge impact on me.I have generated so much code to deal with this that sometimes I feel as if it is all going to come crashing down on me......there, you asked for it and now have your challange. Please work the know issues with the TColorGridSeries plot types. Thank you in advance...

Posted: Mon Apr 17, 2006 3:05 pm
by 9234539
I'm very interested at ColorGrid too, 'cause my research is all about viewing matrix,lol. I wish teechart put more efforet to it. It seems to me ColorGrid is "specially" designed, ex using XZ instead of XY(it can't be mixed together with a Surface series)

I had the same problem as leaf, but I understand using IrregularGrid is a pain, 'cause I guess it's very slow to identify where is the new data point (I've seen good method can't recall name, and this is hot topic too).

p.s

Leaf, IMHO, large data set using IrregularGrid is kinda of impossible, 'cause just imagine how slow to identify large data set in 2D or 3D.

Posted: Tue Apr 18, 2006 9:54 am
by narcis
Hello everyone,

As many customers requested that we have been working on some performance enhancements in all series derived from TeeSurfa unit for TeeChart v8. More enhancements may come before this version is released.