Page 1 of 1

Problem with gaps in FastLine series

Posted: Tue Sep 04, 2007 11:45 am
by 9637303
Hi,

I am trying to show a FastLine series with gaps in it.

I added two double Arrays for x and y values to the fastline and then set the indexes of all the x values for which i do not want to show a line using SetNull method on the series.

now i get a gap in the series, but somehow the fastline drops vertically before the gap and restarts with a vertical line up to the first point after gap. I would like to avoid those lastValuebeforegap to 0 and 0 to firstvalueaftergap lines.

any idea how i can do that?

Posted: Tue Sep 04, 2007 2:22 pm
by narcis
Hi jamjam,

Have you tried using TreatNulls property as shown here?

Code: Select all

    fastLine1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.DoNotPaint;