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 190 - [TV52014808] The Data Table on v8.06 and v8.07 seems behave differently. Below ima...
Summary: [TV52014808] The Data Table on v8.06 and v8.07 seems behave differently. Belo...
Status: RESOLVED WORKSFORME
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Chart (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-19 12:03 EDT by narcís calvet
Modified: 2015-04-16 05:11 EDT (History)
1 user (show)

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 narcís calvet 2013-11-20 10:02:38 EST
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)]