TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

TeeChart for ActiveX, COM and ASP
Post Reply
Gemma
Advanced
Posts: 266
Joined: Thu Feb 03, 2011 12:00 am

TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Gemma » Thu Nov 21, 2013 8:58 am

Greetings,

The latest TeeChart Pro ActiveX v2013 release is available for download now from the Steema web.

TeeChart Pro ActiveX customers with valid subscription may download the version via the customer download page.

Release notes for the build may be viewed at the version info page.
Best Regards,
Gemma Gibert
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
Instructions - How to post in this forum

Alberto
Newbie
Newbie
Posts: 5
Joined: Thu Feb 06, 2014 12:00 am

Re: TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Alberto » Sat Feb 22, 2014 5:14 pm

Hi,
I recently bought the activex teechart because I needed it to be transparent but I can not manage to make it so. :cry:
Does this version solves this?
Can you help me?
Thanks.

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

Re: TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Narcís » Mon Feb 24, 2014 8:05 am

Hi Alberto,

Which specific chart element do you need to be transparent?

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

Alberto
Newbie
Newbie
Posts: 5
Joined: Thu Feb 06, 2014 12:00 am

Re: TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Alberto » Mon Feb 24, 2014 11:49 am

Hello Narcís,
I need line (and fast line) panel (and rest of the graph except axis, numbers, etc. and lines) to be transparent.
Thanks in advance.

Best Regards,
Alberto

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

Re: TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Narcís » Mon Feb 24, 2014 1:53 pm

Hi Alberto,

In that case you should do something as in the example Yeray posted here. It's a Delphi example but the same applies to TeeChart ActiveX. Bear in mind that TeeChart Pro ActiveX is a COM wrapper of TeeChart Pro VCL. Example sources:

Code: Select all

unit UTranspChart;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls, TeeProcs, TeEngine, Chart, jpeg, TeeSurfa,
  TeeMapSeries, Series, ImaPoint, TeCanvas, TeeGDIPlus;


type
  TForm1 = class(TForm)
    Image1: TImage;
    Chart1: TChart;
    Series1: TFastLineSeries;
    procedure FormCreate(Sender: TObject);
    procedure Chart1BeforeDrawChart(Sender: TObject);
  private
    { Private declarations }
    Back : TBitmap;
  public
    { Public declarations }
  end;

var
  Form1             : TForm1;
implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Color:=clNone;

  Chart1.Walls.Back.Visible:=False;
  Series1.FillSampleValues;
end;

procedure TForm1.Chart1BeforeDrawChart(Sender: TObject);
begin
  if not Assigned(Back) then
  begin
    Back:=TBitmap.Create;
    Back.Width:=Chart1.Width;
    Back.Height:=Chart1.Height;

    Back.Canvas.CopyRect(Chart1.ClientRect,Canvas,Chart1.BoundsRect);
  end;

  if Chart1.Color=clNone then
     Chart1.Canvas.Draw(0,0,Back);
end;

end.
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

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

Re: TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Narcís » Mon Feb 24, 2014 1:53 pm

Hi Alberto,

In that case you should do something as in the example Yeray posted here. It's a Delphi example but the same applies to TeeChart ActiveX. Bear in mind that TeeChart Pro ActiveX is a COM wrapper of TeeChart Pro VCL. Example sources:

Code: Select all

unit UTranspChart;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls, TeeProcs, TeEngine, Chart, jpeg, TeeSurfa,
  TeeMapSeries, Series, ImaPoint, TeCanvas, TeeGDIPlus;


type
  TForm1 = class(TForm)
    Image1: TImage;
    Chart1: TChart;
    Series1: TFastLineSeries;
    procedure FormCreate(Sender: TObject);
    procedure Chart1BeforeDrawChart(Sender: TObject);
  private
    { Private declarations }
    Back : TBitmap;
  public
    { Public declarations }
  end;

var
  Form1             : TForm1;
implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Color:=clNone;

  Chart1.Walls.Back.Visible:=False;
  Series1.FillSampleValues;
end;

procedure TForm1.Chart1BeforeDrawChart(Sender: TObject);
begin
  if not Assigned(Back) then
  begin
    Back:=TBitmap.Create;
    Back.Width:=Chart1.Width;
    Back.Height:=Chart1.Height;

    Back.Canvas.CopyRect(Chart1.ClientRect,Canvas,Chart1.BoundsRect);
  end;

  if Chart1.Color=clNone then
     Chart1.Canvas.Draw(0,0,Back);
end;

end.
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

Alberto
Newbie
Newbie
Posts: 5
Joined: Thu Feb 06, 2014 12:00 am

Re: TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Alberto » Mon Feb 24, 2014 3:09 pm

Hi Narcís,
Thanks very much for your help.
Nevertheless, I program in VB 2010 and sorry for been so nuisance but can you tell me how to do that in this language.
I can not access to components as easy as in Delphi probably can be done.
Thanks in advance and best Regards
Alberto

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

Re: TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Yeray » Wed Feb 26, 2014 11:11 am

Hello Alberto,

I've been trying to translate that Delphi example to VB 2010 but I haven't achieved it.
I'm afraid we haven't found a way to make the container transparent in ActiveX.
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

Alberto
Newbie
Newbie
Posts: 5
Joined: Thu Feb 06, 2014 12:00 am

Re: TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Alberto » Wed Feb 26, 2014 2:20 pm

Hello Yeray,
I am a bit upset for this, as I bought the activex with the expectation to get these graphics transparent.
I would like to know if I can get the activex source so that I can change it myself.

Regards,
Alberto

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

Re: TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Narcís » Thu Feb 27, 2014 3:20 pm

Hello Alberto,

After some more investigation I found the equivalent VB 2010 project of the Delphi project I pointed you at. It can be downloaded here: http://steema.com/files/public/Transpar ... XChart.zip

The key was finding the exact properties that match the VCL/ActiveX ones and also some type conversions from .NET to ActiveX. One interesting article on the subject is this: http://blogs.msdn.com/b/andreww/archive ... image.aspx
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

Alberto
Newbie
Newbie
Posts: 5
Joined: Thu Feb 06, 2014 12:00 am

Re: TeeChart Pro ActiveX v2013 release Build 2013.0.1.4

Post by Alberto » Thu Feb 27, 2014 3:25 pm

Dear Narcís,
Thanks so much for your answer. I will try it and let you know.
Best Regards,

Alberto

Post Reply