Can I make an area series transparent ?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Cura
Newbie
Newbie
Posts: 7
Joined: Tue Oct 04, 2005 4:00 am

Can I make an area series transparent ?

Post by Cura » Mon Feb 20, 2006 2:26 pm

I have 5 series: 1 point, 4 areas

How can I show the points over the areas AND be able to show in the legend the point series values?

I can't seem to use the legend for my point series values when it is the last in the list of series. When I move it to the beginning of the list then it appears to be hidden underneath the area.

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

Post by Narcís » Mon Feb 20, 2006 2:40 pm

Hi Cura,

I don't understand what you exactly want to get, but you can use something like:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.View3D:=false;

  With Series1 do
  begin
    FillSampleValues();
    Transparency:=100;
    AreaLinesPen.Visible:=false;
    Pointer.Visible:=true;
    AreaBrush:=bsClear;
    Pen.Visible:=false;
  end;
end;
If this doesn't help you, could you please give us more information on what your are trying to get?
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

Cura
Newbie
Newbie
Posts: 7
Joined: Tue Oct 04, 2005 4:00 am

Am an end user. Not a programmer

Post by Cura » Mon Feb 20, 2006 2:47 pm

Unfortunately I am using ReportBuilder which has TeeChart integrated in it.

I need to build a graph that shows points on an xy chart. Now I want to divide these points into sections using an area graph. The problem is this:

1.If, in the list of series, my point series is at the top, the legend displays perfectly which each point on my graph represented by a colour legend.

HOWEVER: the points are hidden underneath the area series.

2.If I move my point graph down the list of series, the points displays on the chart but there is no legend. It appears that the legend only displays for the first series in the list of series.

Please help I am out of ideas

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

Post by Narcís » Mon Feb 20, 2006 3:23 pm

Hi Cura,

I'm not sure of what you want to get. Could you please send us an image with your comments so that I can figure it out? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newgsroup.

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

Cura
Newbie
Newbie
Posts: 7
Joined: Tue Oct 04, 2005 4:00 am

Post by Cura » Mon Feb 20, 2006 3:31 pm

Hi I would love to send you an attachement but it is not accepting my posts for some reason. Am I doing something wrong? I am using another email account to email the post from. Is that a problem?

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

Post by Narcís » Mon Feb 20, 2006 3:48 pm

Hi Cura,

Which error do you get?

BTW: I'd say your messages are already in the newsgroups.
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

Cura
Newbie
Newbie
Posts: 7
Joined: Tue Oct 04, 2005 4:00 am

Post by Cura » Mon Feb 20, 2006 3:52 pm

I am sorry for being a pain here but this is taking a lot of time. Is there any way I can just email you? or any other support email address. This thing is too complicated for me.

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

Post by Narcís » Mon Feb 20, 2006 3:57 pm

Hi Cura,

I've already seen your images. There are a couple of things you can do here. Both rely to the GetPointerStyle event code snippet I posted in your other thread.

1. Making pointers smaller so if they are somewhat different they don't overlap one to each other. To do that you can use HorizSize and VertSize properties shown in the example I posted.

2. As you suggested, making points the same color. This should also be done as shown in that example or do it when populating the series using on of the Add method overrides.
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