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 232

Summary: [TV52016379] Having a TFastLineSeries with only few points but with DrawAllPoints=...
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: SeriesAssignee: Steema Issue Manager <issuemanager>
Status: CONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2013-11-20 10:33:41 EST
Having a TFastLineSeries with only few points but with DrawAllPoints=false and DrawAllPointsStyle=daMinMax, the series seems to be drawn incorrectly.
Take a look at the following example and click on the checkbox to see how the series changes.
uses Series;
var fast1: TFastLineSeries;
procedure TForm1.FormCreate(Sender: TObject);
var i: Integer;
begin
  Chart1.View3D:=false;
  Chart1.Legend.Visible:=false;
  fast1:=Chart1.AddSeries(TFastLineSeries) as TFastLineSeries;
  fast1.FillSampleValues(25);
  fast1.DrawAllPoints:=false;
  fast1.DrawAllPointsStyle:=daMinMax;
end;
procedure TForm1.CheckBox1Click(Sender: TObject);
begin
  fast1.DrawAllPoints:=CheckBox1.Checked;
end;
http://www.teechart.net/support/viewtopic.php?f=3&t=13611
Same in .NET: TF02016382 [created:2012-10-10T10:29:52.000+01:00 reported by:yeray@steema.com reported in version:2012.06.120613 (TeeChart VCL)]