Plotting several lines within a single Series

TeeChart for ActiveX, COM and ASP
Post Reply
marathoner
Newbie
Newbie
Posts: 35
Joined: Wed Dec 12, 2007 12:00 am

Plotting several lines within a single Series

Post by marathoner » Wed Mar 12, 2008 4:18 pm

I would like to point to plot several distinct lines using CSeries without these lines being connected to each other. If I use AddXY to plot a 2D line, how do I plot another line, without it being connected to the first line?

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 Mar 13, 2008 10:30 am

Hi marathoner,

Sorry but I don't understand what are you exactly trying to achieve. Would you be so kind to give us some more details and, if possible, send us an image of your request?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Thanks in advance.
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

marathoner
Newbie
Newbie
Posts: 35
Joined: Wed Dec 12, 2007 12:00 am

Post by marathoner » Thu Mar 13, 2008 1:09 pm

What I want to do is plot another line that is not connected to the 1st line. The 1st line should not be connected to the 2nd line

// 1st line
temp.AddXY(-0.5, -0.1, (LPCTSTR) "", clTeeColor);
temp.AddXY(-0.2244, -0.2, (LPCTSTR) "", clTeeColor);
temp.AddXY(-0.2244, 0.5, (LPCTSTR) "", clTeeColor);
temp.AddXY(-0.1988, 0.8, (LPCTSTR) "", clTeeColor);
temp.AddXY(0.0, 0.9, (LPCTSTR) "", clTeeColor);
temp.AddXY(0.1988, 0.8, (LPCTSTR) "", clTeeColor);
temp.AddXY(0.2244, 0.5, (LPCTSTR) "", clTeeColor);
temp.AddXY(0.2244, -0.2, (LPCTSTR) "", clTeeColor);
temp.AddXY(0.5, -0.1, (LPCTSTR) "", clTeeColor);


// 2nd line
temp.AddXY(-0.5, 0.1, (LPCTSTR) "", clTeeColor);
temp.AddXY(-0.2756, 0.5, (LPCTSTR) "", clTeeColor);
temp.AddXY(-0.2756, 1.2, (LPCTSTR) "", clTeeColor);
temp.AddXY(0, 1.1, (LPCTSTR) "", clTeeColor);
temp.AddXY(0.2756, 1.2, (LPCTSTR) "", clTeeColor);
temp.AddXY(0.2756, 0.5, (LPCTSTR) "", clTeeColor);
temp.AddXY(0.5, 0.1, (LPCTSTR) "", clTeeColor);

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 Mar 13, 2008 3:13 pm

Hi marathoner,

Thanks for the information.

The best solution I can think of to achieve what you request is using 2 line 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

Post Reply