Page 1 of 1

Can I make an area series transparent ?

Posted: Mon Feb 20, 2006 2:26 pm
by 9343708
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.

Posted: Mon Feb 20, 2006 2:40 pm
by narcis
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?

Am an end user. Not a programmer

Posted: Mon Feb 20, 2006 2:47 pm
by 9343708
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

Posted: Mon Feb 20, 2006 3:23 pm
by narcis
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.

Posted: Mon Feb 20, 2006 3:31 pm
by 9343708
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?

Posted: Mon Feb 20, 2006 3:48 pm
by narcis
Hi Cura,

Which error do you get?

BTW: I'd say your messages are already in the newsgroups.

Posted: Mon Feb 20, 2006 3:52 pm
by 9343708
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.

Posted: Mon Feb 20, 2006 3:57 pm
by narcis
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.