![]() | Steema Issues DatabaseNote: 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. |
| Summary: | [TV52016483] Deppending on the Chart's width, the daMinMax DrawAllPointsStyle give... | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | yeray alonso <yeray> |
| Component: | Series | Assignee: | 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: | |
Deppending on the Chart's width, the daMinMax DrawAllPointsStyle gives a strange result. See the following example and resize the form to see how some "stairs" are drawn for the second series, while one would think it should be similar to the first series. uses Series; procedure TForm1.FormCreate(Sender: TObject); var fast1, fast2: TFastLineSeries; cust1, cust2: TChartAxis; i: Integer; begin Chart1.Align:=alClient; Self.Width:=820; Chart1.View3D:=false; Chart1.Legend.Visible:=false; Chart1.MarginLeft:=7; Chart1.AllowPanning:=pmHorizontal; cust1:=TChartAxis.Create(Chart1); cust2:=TChartAxis.Create(Chart1); cust1.EndPosition:=48; cust2.StartPosition:=52; fast1:=Chart1.AddSeries(TFastLineSeries) as TFastLineSeries; fast2:=Chart1.AddSeries(TFastLineSeries) as TFastLineSeries; for i:=1 to 1440 do begin fast1.Add(100 * (i mod 2)); fast2.Add(100 * (i mod 2)); end; fast1.CustomVertAxis:=cust1; fast2.CustomVertAxis:=cust2; fast2.DrawAllPoints:=false; fast2.DrawAllPointsStyle:=daMinMax; end; Similar in .NET: TF02016484 [created:2013-01-11T13:31:56.000+01:00 reported by:yeray@steema.com reported in version:2012.07.121105 (TeeChart VCL)]