jvcllaz: Fix lower end of TJvChart running away when the XStartOffset is changed.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7181 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2019-11-10 22:22:11 +00:00
parent 2b16ccc6bf
commit 4f3966db81
2 changed files with 8 additions and 6 deletions

View File

@ -2,10 +2,10 @@ object JvChartDemoForm: TJvChartDemoForm
Left = 436
Height = 453
Top = 278
Width = 789
Width = 785
Caption = 'JEDI JvChart Demo'
ClientHeight = 433
ClientWidth = 789
ClientWidth = 785
Color = clWindow
Menu = MainMenu1
OnCreate = FormCreate
@ -17,7 +17,7 @@ object JvChartDemoForm: TJvChartDemoForm
Left = 164
Height = 398
Top = 35
Width = 625
Width = 621
Align = alClient
Options.XAxisValuesPerDivision = 10
Options.XAxisLabelAlignment = taLeftJustify
@ -61,10 +61,10 @@ object JvChartDemoForm: TJvChartDemoForm
Left = 0
Height = 35
Top = 0
Width = 789
Width = 785
Align = alTop
ClientHeight = 35
ClientWidth = 789
ClientWidth = 785
Font.CharSet = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13

View File

@ -89,7 +89,8 @@ located at http://jvcl.delphi-jedi.org
To do:
- Drawing of legend at right (clChartLegendRight) not implemented
- Print-out used screen coordinates
- Printing uses screen coordinates.
- Update to changes made in the object inspector.
-----------------------------------------------------------------------------}
// $Id$
@ -2370,6 +2371,7 @@ begin
if FYStartOffset <> Offset then
begin
FYStartOffset := Offset;
if Assigned(FOwner) then FOwner.CalcYEnd;
NotifyOptionsChange;
end;
end;