![]() | 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: | [TV52014808] The Data Table on v8.06 and v8.07 seems behave differently. Below ima... | ||
|---|---|---|---|
| Product: | VCL TeeChart | Reporter: | narcís calvet <narcis> |
| Component: | Chart | Assignee: | Steema Issue Manager <issuemanager> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | major | CC: | narcis |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Chart Series: | --- | Delphi / C++ Builder RAD IDE Version: | |
The Data Table on v8.06 and v8.07 seems behave differently. Below image shows a TeeChart of the same program. Upper one is TeeChart v8.06 on D2007. Lower one is v8.07 on D2007. After upgraded to v8.07, Data Table with more number of columns seems okay, but if number of columns is smaller, like 3, the Data Table grid falled out of the TChart boundary. Some charts even worse. See attached project and images. My temporary solution is add these two statement everytime I change or enlarge the chart: Chart1.BottomAxis.MinimumOffset := 0; Chart1.BottomAxis.MaximumOffset := 0; So, the problem was not related to the Data Table. v8.07 will alter the above two properties automatically. Sometimes even I set it in the Edtior during design-time, these two properteis will automatically changed to whatever it wants. Most likely related to the fix for TV52014436 in TeEngine.pas Yeray adds: Here is the simpler code to reproduce the difference between 8.06 and 8.07: uses series; procedure TForm1.FormCreate(Sender: TObject); var i, j: integer; begin for i:=0 to 2 do begin with Chart1.AddSeries(TBarSeries.Create(self)) as TBarSeries do begin MultiBar:=mbStacked; Marks.Visible:=false; for j:=0 to 2 do Add(Random(100), '1'); end; end; with Chart1 do begin BottomAxis.MaximumOffset:=50; BottomAxis.MinimumOffset:=50; end; Chart1.Width := 896; Chart1.Height := 560; end; [created:2010-04-19T11:03:32.000+01:00 reported by:narcis@steema.com reported in version:8.07.70413 (TeeChart VCL)]