White lines between AreaSeries

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Jascha
Newbie
Newbie
Posts: 1
Joined: Tue Nov 22, 2011 12:00 am

White lines between AreaSeries

Post by Jascha » Wed Nov 30, 2011 10:13 am

Hallo,

I have updated TeeChart from the Version shipped with Delphi 7 to the current. Now I get little white lines between my bars. See Attachments. How can I remove them to have the old look again.

If I set AreaLinesPen.Visible := true the white lines disappear but all bars are a bit to large.

Here the code the create the series

Code: Select all

Serie:=TAreaSeries.Create(DisChart);
          with Serie as TAreaSeries do
          begin           
            LinePen.Visible:=false;
            BorderWidth:=0;           
            AreaLinesPen.Visible:=false;
            AreaLinesPen.Style:=psDot;
            AreaLinesPen.Color:=Data.Sets[x].Color;                        
            Title:=Data.Sets[x].Name;
            ShowInLegend:=true;
            MultiArea:=maStacked;
            Stairs:=true;
            InvertedStairs:=true;
            XValues.DateTime:=true;
            ParentChart:=DisChart;
            SeriesColor:=Data.Sets[x].Color;
end;
            
            

Attachments
new.jpeg
new.jpeg (12.14 KiB) Viewed 2553 times
old.jpeg
old.jpeg (7.41 KiB) Viewed 2544 times

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

Re: White lines between AreaSeries

Post by Yeray » Thu Dec 01, 2011 4:09 pm

Hi Jascha,

I've added it to the wish list to be revised for further releases (TV52015938).
This seems to have changed in v5.
Code to reproduce it:

Code: Select all

uses Series;

var Serie: TAreaSeries;

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

  for i:=0 to 2 do
  begin
    Serie:=Chart1.AddSeries(TAreaSeries) as TAreaSeries;
    with Serie do
    begin
      FillSampleValues(10);
      MultiArea:=maStacked;
      Stairs:=true;
      AreaLinesPen.Visible:=false;
    end;
  end;
end;
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