Series order loAscending

TeeChart for ActiveX, COM and ASP
Post Reply
Chuck
Newbie
Newbie
Posts: 18
Joined: Tue Dec 13, 2005 12:00 am

Series order loAscending

Post by Chuck » Thu Aug 24, 2006 9:10 am

When I use the statement below I get an error saying that loAscending does not exist.

Is there a full qualifier foer this variable?

Chuck
Newbie
Newbie
Posts: 18
Joined: Tue Dec 13, 2005 12:00 am

Series order loAscending

Post by Chuck » Thu Aug 24, 2006 9:11 am

When I use the statement below I get an error saying that loAscending does not exist.

axTChart2.Series(seriesNum).XValues.Order = loAscending;

Is there a full qualifier for this variable

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 24, 2006 9:29 am

Hi Chuck,

You can try something like this:

Code: Select all

this.axTChart1.Series(0).XValues.Order = TeeChart.EValueListOrder.loAscending;
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

Chuck
Newbie
Newbie
Posts: 18
Joined: Tue Dec 13, 2005 12:00 am

Post by Chuck » Thu Aug 24, 2006 9:32 am

Thanks, Does the order function work for bubble charts. The x axis values do not seem to chage if you use loascedning or lodesceding??

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 24, 2006 9:45 am

Hi Chuck,

Yes, you need to use this feature like this:

Code: Select all

			axTChart1.Series(0).XValues.Order = TeeChart.EValueListOrder.loAscending;
			axTChart1.Series(0).XValues.Sort();
			axTChart1.Series(0).YValues.FillSequence();
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