Problem with skipping nulls
Posted: Tue Jul 10, 2007 10:02 am
Hello.
I am using DBChart to store about 3x200K points (3 series). The series contain data sampled at different rates, therefore in some cases there are a lot of nulls. In previous versions, I deleted all nulls using loops, which is very slow when there are many nulls.
Now I would like to speed things up, using TeeChart v8's "Skip nulls", by setting
Series1.TreatNulls := tnSkip;
etc. All the series are TLineSeries.
Unfortunately, I am having some problems. It works fine until I start zooming in. Some strange lines seem to be drawn from the leftmost points to the rightmost point (even though the rightmost point is not visible).
Below are links to screenshots I have produced with my problem.
Screenshot 1. Before zooming in (seems all fine):
Screenshot 2. After zooming in, a weird line is drawn.
Screenshot 3. Moving a little to the right changes the weird line.
Best regards,
Sigurdur
I am using DBChart to store about 3x200K points (3 series). The series contain data sampled at different rates, therefore in some cases there are a lot of nulls. In previous versions, I deleted all nulls using loops, which is very slow when there are many nulls.
Now I would like to speed things up, using TeeChart v8's "Skip nulls", by setting
Series1.TreatNulls := tnSkip;
etc. All the series are TLineSeries.
Unfortunately, I am having some problems. It works fine until I start zooming in. Some strange lines seem to be drawn from the leftmost points to the rightmost point (even though the rightmost point is not visible).
Below are links to screenshots I have produced with my problem.
Screenshot 1. Before zooming in (seems all fine):
Screenshot 2. After zooming in, a weird line is drawn.
Screenshot 3. Moving a little to the right changes the weird line.
Best regards,
Sigurdur