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 - [TV52016379] Having a TFastLineSeries with only few points but with DrawAllPoints=...
Summary: [TV52016379] Having a TFastLineSeries with only few points but with DrawAllPo...
Status: CONFIRMED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Series (show other bugs)
Version: unspecified
Hardware: All All
: Normal enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-10 11:29 EDT by yeray alonso
Modified: 2013-11-20 10:33 EST (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)]