Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1049

Summary: TLineSeries: Series not respecting area which should be outside of its drawing area
Product: VCL TeeChart Reporter: ChristianH <christian.holzner>
Component: ChartAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: normal CC: sandra
Priority: Normal    
Version: 140923   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:
Attachments: Series not respecting drawing area (seen with the correct clipped region tool area)

Description ChristianH 2014-12-16 04:12:47 EST
Created attachment 363 [details]
Series not respecting drawing area (seen with the correct clipped region tool area)

See the attached sample, which shows that the Region respects the given drawing area (LeftAxis starts at 5%) but the LineSeries not.
Comment 1 sandra pazos 2014-12-16 08:20:13 EST
*** Bug 1050 has been marked as a duplicate of this bug. ***
Comment 2 sandra pazos 2014-12-16 09:53:39 EST
The code below reproduces the problem: 
uses TeCanvas, Series, TeeSeriesRegion;
procedure TForm1.FormCreate(Sender: TObject);
begin
Chart1.View3D := False;
Chart1.Gradient.Visible:=False;
Chart1.Color := clWhite;
Chart1.Walls.Back.Gradient.Visible := False;
Chart1.Walls.Back.Visible := False;
Chart1.AddSeries(TFastLineSeries.Create(Self));
Chart1[0].FillSampleValues(100);
Chart1.Tools.Add(TSeriesRegionTool.Create(self));
(Chart1.Tools[0] as TSeriesRegionTool).Series := Chart1[0];
(Chart1.Tools[0] as TSeriesRegionTool).Color := clRed;
(Chart1.Tools[0] as TSeriesRegionTool).Transparency := 50;
end;