Issues migrating Tower-Chart from Tee v2010 to Tee v2016

TeeChart for ActiveX, COM and ASP
Post Reply
Dominik
Newbie
Newbie
Posts: 9
Joined: Thu Oct 06, 2016 12:00 am

Issues migrating Tower-Chart from Tee v2010 to Tee v2016

Post by Dominik » Mon Dec 12, 2016 12:26 pm

I am currently trying to migrate a tower chart from Tee Chart Pro 2010.0.0.3 to Tee Chart Pro 2016.0.0.2. Unfortunately I am facing some problems:

With the 2010 version the chart works fine. I have 3 series (3D) and each of them starts at its own defined origin (0,7,14). Origin 0 applies to "niedrig", origin 7 applies to "mittel" and origin 14 applies to "hoch" on the left axis.
The Chart with the 2010 version looks like the attached screenshot:
teeChartTower_v2010.PNG
teeChartTower_v2010.PNG (25.57 KiB) Viewed 22397 times
After migrating the chart to the 2016 version each tower of series1 (origin 7) and series2 (origin 14) goes from its y-value to 0 instead of going from its y-value to the series' origin.
The Chart with the 2016 version looks like the attached screenshot:
teeChartTower_v2016.PNG
teeChartTower_v2016.PNG (70.07 KiB) Viewed 22392 times
teeChartTower_v2016_editor.PNG
teeChartTower_v2016_editor.PNG (13.74 KiB) Viewed 22384 times
Which setting do I have to change in order to have the chart working with the 2016 version?

Thanks in advance!

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Issues migrating Tower-Chart from Tee v2010 to Tee v2016

Post by Yeray » Tue Dec 13, 2016 1:00 pm

Hello,

I reproduced the problem in TeeChart VCL (note TeeChart ActiveX is a wrapper from it) so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1718

I've also fixed so the next maintenance release should include it.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dominik
Newbie
Newbie
Posts: 9
Joined: Thu Oct 06, 2016 12:00 am

Re: Issues migrating Tower-Chart from Tee v2010 to Tee v2016

Post by Dominik » Tue Dec 13, 2016 2:41 pm

Thanks for your reply.

Is there already a schedule when the next maintenance release will be available for download?

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Issues migrating Tower-Chart from Tee v2010 to Tee v2016

Post by Yeray » Tue Dec 13, 2016 3:47 pm

Hello,
Dominik wrote:Is there already a schedule when the next maintenance release will be available for download?
I'm afraid I can't tell you when it will be published, but we try to publish ActiveX releases quarterly.
And IO can tell you the last version before the bug was v2013.0.1.4, in case you want to upgrade your v2010 to it in the meanwhile.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dominik
Newbie
Newbie
Posts: 9
Joined: Thu Oct 06, 2016 12:00 am

Re: Issues migrating Tower-Chart from Tee v2010 to Tee v2016

Post by Dominik » Fri Feb 10, 2017 3:40 pm

hi Yeray,

do you already know when the next active x release fixing the above reported bug will be available for download?

best regards,
Dominik

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Issues migrating Tower-Chart from Tee v2010 to Tee v2016

Post by Yeray » Mon Feb 13, 2017 8:18 am

Hello Dominik,

We try to publish TeeChart ActiveX releases quarterly. We'll try to publish the next maintenance release around the beginning of March.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dominik
Newbie
Newbie
Posts: 9
Joined: Thu Oct 06, 2016 12:00 am

Re: Issues migrating Tower-Chart from Tee v2010 to Tee v2016

Post by Dominik » Tue Mar 14, 2017 12:31 pm

hi Yeray,

I still have some issues migrating a tower chart from teechart v.2010 to teechart v.2017 (activeX).

I have a tower chart with 3 layers (origin 1: 0, origin 2: 100, origin 3: 200). Layers 1 and 2 are working fine so far, but layer 3 behaves strange. Maybe you can help.

Layer 3 is set to start at origin 200 which is yet working correctly. But layer 3 is - in contrast to layer 1 and 2 - extending from 200 to 300 (left axis). I really need layer 3 to have the exact same behavior as layer 1 and layer 2. What settings do I have to set?

Many thanks in advance and best regards,
Dominik
Attachments
teechart_tower_v2017.PNG
screenshot tower v2017
teechart_tower_v2017.PNG (293.44 KiB) Viewed 22171 times

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Issues migrating Tower-Chart from Tee v2010 to Tee v2016

Post by Yeray » Tue Mar 14, 2017 3:08 pm

Hello,

I could reproduce the problem so I've added it to the public tracker:
http://bugs.teechart.net/show_bug.cgi?id=1819

Note it's a TeeChart VCL bug that TeeChart ActiveX has inherited because the later is a wrapper of the former.
The last version not reproducing this problem is TeeChart ActiveX v2013.0.1.4
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Dominik
Newbie
Newbie
Posts: 9
Joined: Thu Oct 06, 2016 12:00 am

Re: Issues migrating Tower-Chart from Tee v2010 to Tee v2016

Post by Dominik » Tue Mar 14, 2017 3:12 pm

Hi Yeray,

is there a possible workaround to fix this bug?

I really need to have this feature working! I suspect I cannot wait for the next release...

Best regards,
Dominik

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Issues migrating Tower-Chart from Tee v2010 to Tee v2016

Post by Yeray » Wed Mar 15, 2017 9:14 am

Hello Dominik,

Playing a little bit with the Origins I found a way to workaround it, at least for this situation:

Code: Select all

Private Sub Form_Load() 
  Dim i, x, z As Integer
  For i = 0 To 7
    TChart1.AddSeries scTower
    With TChart1.Series(i).asTower
      .UseOrigin = True
      If i < 2 Then
        .Origin = 100 * i
      Else
        .Origin = TChart1.Series(i - 1).asTower.Origin + (TChart1.Series(i - 1).asTower.Origin - TChart1.Series(i - 2).asTower.Origin) - 100
      End If
      
      For x = 0 To 2
        For z = 0 To 2
          .AddXYZ x, 100 * i, z, "", clTeeColor
        Next z
      Next x
    End With
  Next i
  
  TChart1.Axis.Left.SetMinMax 0, 800
End Sub
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply