Page 1 of 1

Plotting several lines within a single Series

Posted: Wed Mar 12, 2008 4:18 pm
by 15047739
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?

Posted: Thu Mar 13, 2008 10:30 am
by narcis
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.

Posted: Thu Mar 13, 2008 1:09 pm
by 15047739
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);

Posted: Thu Mar 13, 2008 3:13 pm
by narcis
Hi marathoner,

Thanks for the information.

The best solution I can think of to achieve what you request is using 2 line series.