Issues Migrating from Activex 7 to Activex 2012

TeeChart for ActiveX, COM and ASP
Post Reply
Activex7
Newbie
Newbie
Posts: 16
Joined: Wed Aug 16, 2006 12:00 am

Issues Migrating from Activex 7 to Activex 2012

Post by Activex7 » Fri Jun 21, 2013 3:46 pm

We have upgraded from ActiveX 2007 to ActiveX2012, While migrating we encountered a few issues which are as follows. I am attaching a jpg with the issues.
Attachments
Issue.jpg
Issue.jpg (110.99 KiB) Viewed 6440 times

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

Re: Issues Migrating from Activex 7 to Activex 2012

Post by Yeray » Tue Jun 25, 2013 3:10 pm

Hi,

1. I've been trying to reproduce it with v2012.0.0.7 and the following code, but it seems to work fine for me here:

Code: Select all

  TChart1.Aspect.View3D = False

  Dim i As Integer
  For i = 0 To 20
    TChart1.AddSeries scLine
    TChart1.Series(i).FillSampleValues 5
  Next i
  
  TChart1.Tools.Add tcLegendScrollBar
  TChart1.Legend.CheckBoxes = True
Please, give it a try at the actual evaluation version to see if the problem is still there, and, if still reproducible, try to arrange a simple example project we can run as-is to reproduce the problem here.

2. You can make sure you have a transparent bush before calling the TextOut function:

Code: Select all

Private Sub TChart1_OnAfterDraw()
  TChart1.Canvas.Brush.Style = bsClear
  TChart1.Canvas.TextOut 100, 100, "hello chart"
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