Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/AddOn/TChart/TChart    [ Add a report in this area ]  
Report #:  72926   Status: Closed
Freeze when TeeChart height is extreme small.
Project:  Delphi Build #:  12.0.3210.17555
Version:    12.1 Submitted By:   Takashi Narisawa
Report Type:  Crash / Data loss / Total failure Date Reported:  4/12/2009 2:23:18 AM
Severity:    Infrequently encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   269001
Resolution: Fixed (Resolution Comments) Resolved in Build: : 14.0.3513.24210
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Add a lineSeries and Chart Align set to alClient, run the program and the form size change small (upper) by mouse then  freeze window.
Steps to Reproduce:
1. New VCL Form Application.
2. Add TeeChart on form.
3. Chart Align set to alClient and add a line series. (See following code)
4. Run.
5. Reduce the form vertically by the mouse to become chart height almost 0.
6. Freeze.


unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls, TeeProcs, TeEngine, Chart, Series;

type
  TForm1 = class(TForm)
    Chart1: TChart;
    procedure FormCreate(Sender: TObject);
  private

  public

  end;

var
  Form1: TForm1;
  Series1: TLineSeries;

implementation

{$R *.dfm}

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Align := alClient;
  Series1 := TLineSeries.Create(Self);
  Series1.ParentChart := Chart1;
  Series1.VertAxis := aLeftAxis;
  Series1.Active := true;
  Series1.Clear;

  Series1.AddXY(1, 1);
  Series1.AddXY(2, 2);

end;

end.

Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 4/12/2009 11:49:59 PM -
I can not reproduce your issue.
Please attach sample project to reproduce the problem.

Takashi Narisawa at 4/14/2009 12:43:04 AM -
I attached the project and a image when freeze.
Thank you.

Server Response from: ETNACODE01