The way point are connected in a line chart

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Lars Iversen
Newbie
Newbie
Posts: 61
Joined: Wed Jun 22, 2005 4:00 am
Location: cph

The way point are connected in a line chart

Post by Lars Iversen » Thu Aug 16, 2007 8:49 am

Hi

I have uploaded a zip file containing two screen shots.
The first screen shot show some points series where the points actually can be connected in a way where they would be shown as circles.
When you change to Line series type the series look like the second one of the pictures that I have uploaded to you.
The question is: Is it possible to have the plots drawn like circles instead of this zig-zag that you see on image number two.

Thanks in advance
Lars Iversen

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

Post by Narcís » Thu Aug 16, 2007 2:07 pm

Hi Lars,

Yes. This is because, by default, line series are sorted in ascending order because they are designed to plot sequential data. To solve that you need to set series' XValues to not being ordered, for example:

Code: Select all

      fastLine1.XValues.Order = Steema.TeeChart.Styles.ValueListOrder.None; 
You should use this before populating your series.
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

Lars Iversen
Newbie
Newbie
Posts: 61
Joined: Wed Jun 22, 2005 4:00 am
Location: cph

Post by Lars Iversen » Fri Aug 17, 2007 9:26 am

Ok.
But then I assume that the values will have to be put in in an order so that the points form the circle!? Right?
Is there not a possibility that teechart can join points that are closest to each other? that way I don't have to worry about sorting the values.

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

Post by Narcís » Fri Aug 17, 2007 10:19 am

Hi Lars,
But then I assume that the values will have to be put in in an order so that the points form the circle!? Right?
Yes, that's right.
Is there not a possibility that teechart can join points that are closest to each other? that way I don't have to worry about sorting the values.
I'm afraid this is not possible for now. I'll add your request to our wish-list to be considered for inclusion in future releases.
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