TContourSeries - making art
Posted: Tue Nov 08, 2011 8:38 am
I have a display made of both TContourSeries and TColorGridSeries. It started hanging and I found out that when I feed in a (very) large array of data, with valid location values, but the data terms are all zero, then it hangs when I call Repaint.
I don't know which series flakes out the most about this.
In my experimenting I changed the zero value to be 5 and produced this lovely artwork that I've attached. I've now got a check in my code locally, so this won't happen again for me, but I thought I'd share.
If the data term is non-constant, then it returns to normal behavior.
I don't know which series flakes out the most about this.
In my experimenting I changed the zero value to be 5 and produced this lovely artwork that I've attached. I've now got a check in my code locally, so this won't happen again for me, but I thought I'd share.
If the data term is non-constant, then it returns to normal behavior.