TAChart: Update extent demo project

git-svn-id: trunk@21897 -
This commit is contained in:
ask 2009-09-27 15:05:40 +00:00
parent 28f332082e
commit 1ca42bb562
2 changed files with 63 additions and 51 deletions

View File

@ -7,23 +7,32 @@ object Form1: TForm1
ClientHeight = 397 ClientHeight = 397
ClientWidth = 396 ClientWidth = 396
OnCreate = FormCreate OnCreate = FormCreate
LCLVersion = '0.9.27' LCLVersion = '0.9.29'
object Chart1: TChart object Chart1: TChart
Left = 0 Left = 0
Height = 307 Height = 307
Top = 0 Top = 0
Width = 396 Width = 396
BottomAxis.Grid.Style = psDot AxisList = <
BottomAxis.Grid.Visible = False item
Alignment = calLeft
Grid.Visible = False
Offset = 0
Scale = 1
Title.Font.Orientation = 900
end
item
Alignment = calBottom
Grid.Visible = False
Offset = 0
Scale = 1
end>
Extent.XMin = -1.7 Extent.XMin = -1.7
Extent.YMin = -1.7 Extent.YMin = -1.7
Extent.XMax = 1.7 Extent.XMax = 1.7
Extent.YMax = 1.7 Extent.YMax = 1.7
Foot.Brush.Color = clBtnFace Foot.Brush.Color = clBtnFace
Foot.Font.Color = clBlue Foot.Font.Color = clBlue
LeftAxis.Grid.Style = psDot
LeftAxis.Grid.Visible = False
LeftAxis.Title.Angle = 90
Title.Brush.Color = clBtnFace Title.Brush.Color = clBtnFace
Title.Font.Color = clBlue Title.Font.Color = clBlue
Title.Text.Strings = ( Title.Text.Strings = (
@ -32,6 +41,7 @@ object Form1: TForm1
Align = alClient Align = alClient
ParentColor = False ParentColor = False
object Chart1LineSeries: TLineSeries object Chart1LineSeries: TLineSeries
LinePen.Color = clRed
Pointer.Brush.Color = clRed Pointer.Brush.Color = clRed
Pointer.Pen.Color = clRed Pointer.Pen.Color = clRed
SeriesColor = clRed SeriesColor = clRed
@ -116,7 +126,7 @@ object Form1: TForm1
end end
object fseBounds: TFloatSpinEdit object fseBounds: TFloatSpinEdit
Left = 204 Left = 204
Height = 23 Height = 21
Top = 17 Top = 17
Width = 50 Width = 50
Increment = 0.1 Increment = 0.1

View File

@ -3,48 +3,50 @@
LazarusResources.Add('TForm1','FORMDATA',[ LazarusResources.Add('TForm1','FORMDATA',[
'TPF0'#6'TForm1'#5'Form1'#4'Left'#3'?'#1#6'Height'#3#141#1#3'Top'#3#165#0#5'W' 'TPF0'#6'TForm1'#5'Form1'#4'Left'#3'?'#1#6'Height'#3#141#1#3'Top'#3#165#0#5'W'
+'idth'#3#140#1#7'Caption'#6#5'Form1'#12'ClientHeight'#3#141#1#11'ClientWidth' +'idth'#3#140#1#7'Caption'#6#5'Form1'#12'ClientHeight'#3#141#1#11'ClientWidth'
+#3#140#1#8'OnCreate'#7#10'FormCreate'#10'LCLVersion'#6#6'0.9.27'#0#6'TChart' +#3#140#1#8'OnCreate'#7#10'FormCreate'#10'LCLVersion'#6#6'0.9.29'#0#6'TChart'
+#6'Chart1'#4'Left'#2#0#6'Height'#3'3'#1#3'Top'#2#0#5'Width'#3#140#1#21'Botto' +#6'Chart1'#4'Left'#2#0#6'Height'#3'3'#1#3'Top'#2#0#5'Width'#3#140#1#8'AxisLi'
+'mAxis.Grid.Style'#7#5'psDot'#23'BottomAxis.Grid.Visible'#8#11'Extent.XMin'#5 +'st'#14#1#9'Alignment'#7#7'calLeft'#12'Grid.Visible'#8#6'Offset'#5#0#0#0#0#0
+#0#152#153#153#153#153#153#217#255#191#11'Extent.YMin'#5#0#152#153#153#153 +#0#0#0#0#0#5'Scale'#5#0#0#0#0#0#0#0#128#255'?'#22'Title.Font.Orientation'#3
+#153#153#217#255#191#11'Extent.XMax'#5#0#152#153#153#153#153#153#217#255'?' +#132#3#0#1#9'Alignment'#7#9'calBottom'#12'Grid.Visible'#8#6'Offset'#5#0#0#0#0
+#11'Extent.YMax'#5#0#152#153#153#153#153#153#217#255'?'#16'Foot.Brush.Color' +#0#0#0#0#0#0#5'Scale'#5#0#0#0#0#0#0#0#128#255'?'#0#0#11'Extent.XMin'#5#0#152
+#7#9'clBtnFace'#15'Foot.Font.Color'#7#6'clBlue'#19'LeftAxis.Grid.Style'#7#5 +#153#153#153#153#153#217#255#191#11'Extent.YMin'#5#0#152#153#153#153#153#153
+'psDot'#21'LeftAxis.Grid.Visible'#8#20'LeftAxis.Title.Angle'#2'Z'#17'Title.B' +#217#255#191#11'Extent.XMax'#5#0#152#153#153#153#153#153#217#255'?'#11'Exten'
+'rush.Color'#7#9'clBtnFace'#16'Title.Font.Color'#7#6'clBlue'#18'Title.Text.S' +'t.YMax'#5#0#152#153#153#153#153#153#217#255'?'#16'Foot.Brush.Color'#7#9'clB'
+'trings'#1#6#7'TAChart'#0#5'Align'#7#8'alClient'#11'ParentColor'#8#0#11'TLin' +'tnFace'#15'Foot.Font.Color'#7#6'clBlue'#17'Title.Brush.Color'#7#9'clBtnFace'
+'eSeries'#16'Chart1LineSeries'#19'Pointer.Brush.Color'#7#5'clRed'#17'Pointer' +#16'Title.Font.Color'#7#6'clBlue'#18'Title.Text.Strings'#1#6#7'TAChart'#0#5
+'.Pen.Color'#7#5'clRed'#11'SeriesColor'#7#5'clRed'#10'ShowPoints'#9#6'Source' +'Align'#7#8'alClient'#11'ParentColor'#8#0#11'TLineSeries'#16'Chart1LineSerie'
+#7#18'RandomChartSource1'#0#0#5'TLine'#7'clRight'#9'LineStyle'#7#10'lsVertic' +'s'#13'LinePen.Color'#7#5'clRed'#19'Pointer.Brush.Color'#7#5'clRed'#17'Point'
+'al'#9'Pen.Color'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0#152 +'er.Pen.Color'#7#5'clRed'#11'SeriesColor'#7#5'clRed'#10'ShowPoints'#9#6'Sour'
+#153#153#153#153#153#217#255'?'#11'SeriesColor'#7#7'clGreen'#9'UseBounds'#8#0 +'ce'#7#18'RandomChartSource1'#0#0#5'TLine'#7'clRight'#9'LineStyle'#7#10'lsVe'
+#0#5'TLine'#6'clLeft'#9'LineStyle'#7#10'lsVertical'#9'Pen.Color'#7#7'clGreen' +'rtical'#9'Pen.Color'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0
+#9'Pen.Style'#7#5'psDot'#8'Position'#5#0#152#153#153#153#153#153#217#255#191 +#152#153#153#153#153#153#217#255'?'#11'SeriesColor'#7#7'clGreen'#9'UseBounds'
+#11'SeriesColor'#7#7'clGreen'#9'UseBounds'#8#0#0#5'TLine'#5'clTop'#9'Pen.Col' +#8#0#0#5'TLine'#6'clLeft'#9'LineStyle'#7#10'lsVertical'#9'Pen.Color'#7#7'clG'
+'or'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0#152#153#153#153#153 +'reen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0#152#153#153#153#153#153#217
+#153#217#255'?'#11'SeriesColor'#7#7'clGreen'#9'UseBounds'#8#0#0#5'TLine'#8'c' +#255#191#11'SeriesColor'#7#7'clGreen'#9'UseBounds'#8#0#0#5'TLine'#5'clTop'#9
+'lBottom'#9'Pen.Color'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0 +'Pen.Color'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0#152#153#153
+#152#153#153#153#153#153#217#255#191#11'SeriesColor'#7#7'clGreen'#9'UseBound' +#153#153#153#217#255'?'#11'SeriesColor'#7#7'clGreen'#9'UseBounds'#8#0#0#5'TL'
+'s'#8#0#0#0#6'TPanel'#6'Panel1'#4'Left'#2#0#6'Height'#2'Z'#3'Top'#3'3'#1#5'W' +'ine'#8'clBottom'#9'Pen.Color'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Positi'
+'idth'#3#140#1#5'Align'#7#8'alBottom'#12'ClientHeight'#2'Z'#11'ClientWidth'#3 +'on'#5#0#152#153#153#153#153#153#217#255#191#11'SeriesColor'#7#7'clGreen'#9
+#140#1#8'TabOrder'#2#1#0#6'TLabel'#13'lblBoundValue'#4'Left'#3#160#0#6'Heigh' +'UseBounds'#8#0#0#0#6'TPanel'#6'Panel1'#4'Left'#2#0#6'Height'#2'Z'#3'Top'#3
+'t'#2#14#3'Top'#2#21#5'Width'#2#27#7'Caption'#6#5'Value'#11'ParentColor'#8#0 +'3'#1#5'Width'#3#140#1#5'Align'#7#8'alBottom'#12'ClientHeight'#2'Z'#11'Clien'
+#0#11'TCheckGroup'#11'cgUseBounds'#4'Left'#2#1#6'Height'#2'X'#3'Top'#2#1#5'W' +'tWidth'#3#140#1#8'TabOrder'#2#1#0#6'TLabel'#13'lblBoundValue'#4'Left'#3#160
+'idth'#3#147#0#5'Align'#7#6'alLeft'#8'AutoFill'#9#7'Caption'#6#12' Use bound' +#0#6'Height'#2#14#3'Top'#2#21#5'Width'#2#27#7'Caption'#6#5'Value'#11'ParentC'
+'s '#28'ChildSizing.LeftRightSpacing'#2#8#28'ChildSizing.TopBottomSpacing'#2 +'olor'#8#0#0#11'TCheckGroup'#11'cgUseBounds'#4'Left'#2#1#6'Height'#2'X'#3'To'
+#6#29'ChildSizing.EnlargeHorizontal'#7#24'crsHomogenousChildResize'#27'Child' +'p'#2#1#5'Width'#3#147#0#5'Align'#7#6'alLeft'#8'AutoFill'#9#7'Caption'#6#12
+'Sizing.EnlargeVertical'#7#24'crsHomogenousChildResize'#28'ChildSizing.Shrin' +' Use bounds '#28'ChildSizing.LeftRightSpacing'#2#8#28'ChildSizing.TopBottom'
+'kHorizontal'#7#14'crsScaleChilds'#26'ChildSizing.ShrinkVertical'#7#14'crsSc' +'Spacing'#2#6#29'ChildSizing.EnlargeHorizontal'#7#24'crsHomogenousChildResiz'
+'aleChilds'#18'ChildSizing.Layout'#7#29'cclLeftToRightThenTopToBottom'#27'Ch' +'e'#27'ChildSizing.EnlargeVertical'#7#24'crsHomogenousChildResize'#28'ChildS'
+'ildSizing.ControlsPerLine'#2#1#13'Items.Strings'#1#6#4'Left'#6#5'Right'#6#6 +'izing.ShrinkHorizontal'#7#14'crsScaleChilds'#26'ChildSizing.ShrinkVertical'
+'Bottom'#6#3'Top'#0#11'OnItemClick'#7#20'cgUseBoundsItemClick'#8'TabOrder'#2 +#7#14'crsScaleChilds'#18'ChildSizing.Layout'#7#29'cclLeftToRightThenTopToBot'
+#0#4'Data'#10#8#0#0#0#4#0#0#0#2#2#2#2#0#0#14'TFloatSpinEdit'#9'fseBounds'#4 +'tom'#27'ChildSizing.ControlsPerLine'#2#1#13'Items.Strings'#1#6#4'Left'#6#5
+'Left'#3#204#0#6'Height'#2#23#3'Top'#2#17#5'Width'#2'2'#9'Increment'#5#0#208 +'Right'#6#6'Bottom'#6#3'Top'#0#11'OnItemClick'#7#20'cgUseBoundsItemClick'#8
+#204#204#204#204#204#204#251'?'#8'MaxValue'#5#0#0#0#0#0#0#0#160#2'@'#8'MinVa' +'TabOrder'#2#0#4'Data'#10#8#0#0#0#4#0#0#0#2#2#2#2#0#0#14'TFloatSpinEdit'#9'f'
+'lue'#5#0#0#0#0#0#0#0#128#255'?'#8'OnChange'#7#15'fseBoundsChange'#8'TabOrde' +'seBounds'#4'Left'#3#204#0#6'Height'#2#21#3'Top'#2#17#5'Width'#2'2'#9'Increm'
+'r'#2#1#5'Value'#5#0#152#153#153#153#153#153#217#255'?'#0#0#0#18'TRandomChar' +'ent'#5#0#208#204#204#204#204#204#204#251'?'#8'MaxValue'#5#0#0#0#0#0#0#0#160
+'tSource'#18'RandomChartSource1'#12'PointsNumber'#2#20#8'RandSeed'#4'KKv%'#4 +#2'@'#8'MinValue'#5#0#0#0#0#0#0#0#128#255'?'#8'OnChange'#7#15'fseBoundsChang'
+'XMax'#5#0#0#0#0#0#0#0#160#1'@'#4'XMin'#5#0#0#0#0#0#0#0#160#1#192#4'YMax'#5#0 +'e'#8'TabOrder'#2#1#5'Value'#5#0#152#153#153#153#153#153#217#255'?'#0#0#0#18
+#0#0#0#0#0#0#160#1'@'#4'YMin'#5#0#0#0#0#0#0#0#160#1#192#4'left'#3#176#0#3'to' +'TRandomChartSource'#18'RandomChartSource1'#12'PointsNumber'#2#20#8'RandSeed'
+'p'#2'v'#0#0#0 +#4'KKv%'#4'XMax'#5#0#0#0#0#0#0#0#160#1'@'#4'XMin'#5#0#0#0#0#0#0#0#160#1#192#4
+'YMax'#5#0#0#0#0#0#0#0#160#1'@'#4'YMin'#5#0#0#0#0#0#0#0#160#1#192#4'left'#3
+#176#0#3'top'#2'v'#0#0#0
]); ]);