Problem with gaps in FastLine series

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
jamjam
Newbie
Newbie
Posts: 3
Joined: Wed Jun 22, 2005 4:00 am
Contact:

Problem with gaps in FastLine series

Post by jamjam » Tue Sep 04, 2007 11:45 am

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?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Sep 04, 2007 2:22 pm

Hi jamjam,

Have you tried using TreatNulls property as shown here?

Code: Select all

    fastLine1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.DoNotPaint;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply