Line chart problem

TeeChart for ActiveX, COM and ASP
Post Reply
kai
Newbie
Newbie
Posts: 1
Joined: Mon Mar 26, 2007 12:00 am

Line chart problem

Post by kai » Wed Sep 10, 2008 1:49 pm

I am using TeeChart Pro ActiveX 7.0 and have problem with a simple line chart. My two series have uneven numbers of x/y values. For example, the first series has 4 data points:x=1/y=1;x=2/y=2;x=3/y=3;x=4/y=4.
the second series 3 data points:x=1/y=2;x=2/y=3;x=4/y=5.

The first series shows a line with 4 data points. But the second series shows a line with the first two data points, plus a dot for the third data point. The line is missing between the second and the third data point. How to fix this problem?

Thanks.

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

Post by Narcís » Wed Sep 10, 2008 2:33 pm

Hi kai,

I'm not able to reproduce the issue here using v7.0.1.4, which is latest v7 release available at the client area, and code below. Could you please let us know the TeeChart version you are using and, if the problem persists, modify the code snippet so that we can reproduce the problem here?

Code: Select all

Private Sub Form_Load()
    TChart1.Aspect.View3D = False
    
    TChart1.AddSeries scLine
    TChart1.AddSeries scLine
    
    TChart1.Series(0).AddXY 1, 1, "", clTeeColor
    TChart1.Series(0).AddXY 2, 2, "", clTeeColor
    TChart1.Series(0).AddXY 3, 3, "", clTeeColor
    TChart1.Series(0).AddXY 4, 4, "", clTeeColor
    
    TChart1.Series(1).AddXY 1, 2, "", clTeeColor
    TChart1.Series(1).AddXY 2, 3, "", clTeeColor
    TChart1.Series(1).AddXY 4, 5, "", clTeeColor
End Sub
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

Post Reply