From 1ca42bb562d5fc16e1e883b246e4356d6b213089 Mon Sep 17 00:00:00 2001 From: ask Date: Sun, 27 Sep 2009 15:05:40 +0000 Subject: [PATCH] TAChart: Update extent demo project git-svn-id: trunk@21897 - --- components/tachart/demo/extent/main.lfm | 24 +++++-- components/tachart/demo/extent/main.lrs | 90 +++++++++++++------------ 2 files changed, 63 insertions(+), 51 deletions(-) diff --git a/components/tachart/demo/extent/main.lfm b/components/tachart/demo/extent/main.lfm index 8f283bd5ab..d04d5f78de 100644 --- a/components/tachart/demo/extent/main.lfm +++ b/components/tachart/demo/extent/main.lfm @@ -7,23 +7,32 @@ object Form1: TForm1 ClientHeight = 397 ClientWidth = 396 OnCreate = FormCreate - LCLVersion = '0.9.27' + LCLVersion = '0.9.29' object Chart1: TChart Left = 0 Height = 307 Top = 0 Width = 396 - BottomAxis.Grid.Style = psDot - BottomAxis.Grid.Visible = False + AxisList = < + 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.YMin = -1.7 Extent.XMax = 1.7 Extent.YMax = 1.7 Foot.Brush.Color = clBtnFace Foot.Font.Color = clBlue - LeftAxis.Grid.Style = psDot - LeftAxis.Grid.Visible = False - LeftAxis.Title.Angle = 90 Title.Brush.Color = clBtnFace Title.Font.Color = clBlue Title.Text.Strings = ( @@ -32,6 +41,7 @@ object Form1: TForm1 Align = alClient ParentColor = False object Chart1LineSeries: TLineSeries + LinePen.Color = clRed Pointer.Brush.Color = clRed Pointer.Pen.Color = clRed SeriesColor = clRed @@ -116,7 +126,7 @@ object Form1: TForm1 end object fseBounds: TFloatSpinEdit Left = 204 - Height = 23 + Height = 21 Top = 17 Width = 50 Increment = 0.1 diff --git a/components/tachart/demo/extent/main.lrs b/components/tachart/demo/extent/main.lrs index 275c3bba65..106895c37c 100644 --- a/components/tachart/demo/extent/main.lrs +++ b/components/tachart/demo/extent/main.lrs @@ -3,48 +3,50 @@ 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' +'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' - +#6'Chart1'#4'Left'#2#0#6'Height'#3'3'#1#3'Top'#2#0#5'Width'#3#140#1#21'Botto' - +'mAxis.Grid.Style'#7#5'psDot'#23'BottomAxis.Grid.Visible'#8#11'Extent.XMin'#5 - +#0#152#153#153#153#153#153#217#255#191#11'Extent.YMin'#5#0#152#153#153#153 - +#153#153#217#255#191#11'Extent.XMax'#5#0#152#153#153#153#153#153#217#255'?' - +#11'Extent.YMax'#5#0#152#153#153#153#153#153#217#255'?'#16'Foot.Brush.Color' - +#7#9'clBtnFace'#15'Foot.Font.Color'#7#6'clBlue'#19'LeftAxis.Grid.Style'#7#5 - +'psDot'#21'LeftAxis.Grid.Visible'#8#20'LeftAxis.Title.Angle'#2'Z'#17'Title.B' - +'rush.Color'#7#9'clBtnFace'#16'Title.Font.Color'#7#6'clBlue'#18'Title.Text.S' - +'trings'#1#6#7'TAChart'#0#5'Align'#7#8'alClient'#11'ParentColor'#8#0#11'TLin' - +'eSeries'#16'Chart1LineSeries'#19'Pointer.Brush.Color'#7#5'clRed'#17'Pointer' - +'.Pen.Color'#7#5'clRed'#11'SeriesColor'#7#5'clRed'#10'ShowPoints'#9#6'Source' - +#7#18'RandomChartSource1'#0#0#5'TLine'#7'clRight'#9'LineStyle'#7#10'lsVertic' - +'al'#9'Pen.Color'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0#152 - +#153#153#153#153#153#217#255'?'#11'SeriesColor'#7#7'clGreen'#9'UseBounds'#8#0 - +#0#5'TLine'#6'clLeft'#9'LineStyle'#7#10'lsVertical'#9'Pen.Color'#7#7'clGreen' - +#9'Pen.Style'#7#5'psDot'#8'Position'#5#0#152#153#153#153#153#153#217#255#191 - +#11'SeriesColor'#7#7'clGreen'#9'UseBounds'#8#0#0#5'TLine'#5'clTop'#9'Pen.Col' - +'or'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0#152#153#153#153#153 - +#153#217#255'?'#11'SeriesColor'#7#7'clGreen'#9'UseBounds'#8#0#0#5'TLine'#8'c' - +'lBottom'#9'Pen.Color'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0 - +#152#153#153#153#153#153#217#255#191#11'SeriesColor'#7#7'clGreen'#9'UseBound' - +'s'#8#0#0#0#6'TPanel'#6'Panel1'#4'Left'#2#0#6'Height'#2'Z'#3'Top'#3'3'#1#5'W' - +'idth'#3#140#1#5'Align'#7#8'alBottom'#12'ClientHeight'#2'Z'#11'ClientWidth'#3 - +#140#1#8'TabOrder'#2#1#0#6'TLabel'#13'lblBoundValue'#4'Left'#3#160#0#6'Heigh' - +'t'#2#14#3'Top'#2#21#5'Width'#2#27#7'Caption'#6#5'Value'#11'ParentColor'#8#0 - +#0#11'TCheckGroup'#11'cgUseBounds'#4'Left'#2#1#6'Height'#2'X'#3'Top'#2#1#5'W' - +'idth'#3#147#0#5'Align'#7#6'alLeft'#8'AutoFill'#9#7'Caption'#6#12' Use bound' - +'s '#28'ChildSizing.LeftRightSpacing'#2#8#28'ChildSizing.TopBottomSpacing'#2 - +#6#29'ChildSizing.EnlargeHorizontal'#7#24'crsHomogenousChildResize'#27'Child' - +'Sizing.EnlargeVertical'#7#24'crsHomogenousChildResize'#28'ChildSizing.Shrin' - +'kHorizontal'#7#14'crsScaleChilds'#26'ChildSizing.ShrinkVertical'#7#14'crsSc' - +'aleChilds'#18'ChildSizing.Layout'#7#29'cclLeftToRightThenTopToBottom'#27'Ch' - +'ildSizing.ControlsPerLine'#2#1#13'Items.Strings'#1#6#4'Left'#6#5'Right'#6#6 - +'Bottom'#6#3'Top'#0#11'OnItemClick'#7#20'cgUseBoundsItemClick'#8'TabOrder'#2 - +#0#4'Data'#10#8#0#0#0#4#0#0#0#2#2#2#2#0#0#14'TFloatSpinEdit'#9'fseBounds'#4 - +'Left'#3#204#0#6'Height'#2#23#3'Top'#2#17#5'Width'#2'2'#9'Increment'#5#0#208 - +#204#204#204#204#204#204#251'?'#8'MaxValue'#5#0#0#0#0#0#0#0#160#2'@'#8'MinVa' - +'lue'#5#0#0#0#0#0#0#0#128#255'?'#8'OnChange'#7#15'fseBoundsChange'#8'TabOrde' - +'r'#2#1#5'Value'#5#0#152#153#153#153#153#153#217#255'?'#0#0#0#18'TRandomChar' - +'tSource'#18'RandomChartSource1'#12'PointsNumber'#2#20#8'RandSeed'#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'to' - +'p'#2'v'#0#0#0 + +#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#8'AxisLi' + +'st'#14#1#9'Alignment'#7#7'calLeft'#12'Grid.Visible'#8#6'Offset'#5#0#0#0#0#0 + +#0#0#0#0#0#5'Scale'#5#0#0#0#0#0#0#0#128#255'?'#22'Title.Font.Orientation'#3 + +#132#3#0#1#9'Alignment'#7#9'calBottom'#12'Grid.Visible'#8#6'Offset'#5#0#0#0#0 + +#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 + +#153#153#153#153#153#217#255#191#11'Extent.YMin'#5#0#152#153#153#153#153#153 + +#217#255#191#11'Extent.XMax'#5#0#152#153#153#153#153#153#217#255'?'#11'Exten' + +'t.YMax'#5#0#152#153#153#153#153#153#217#255'?'#16'Foot.Brush.Color'#7#9'clB' + +'tnFace'#15'Foot.Font.Color'#7#6'clBlue'#17'Title.Brush.Color'#7#9'clBtnFace' + +#16'Title.Font.Color'#7#6'clBlue'#18'Title.Text.Strings'#1#6#7'TAChart'#0#5 + +'Align'#7#8'alClient'#11'ParentColor'#8#0#11'TLineSeries'#16'Chart1LineSerie' + +'s'#13'LinePen.Color'#7#5'clRed'#19'Pointer.Brush.Color'#7#5'clRed'#17'Point' + +'er.Pen.Color'#7#5'clRed'#11'SeriesColor'#7#5'clRed'#10'ShowPoints'#9#6'Sour' + +'ce'#7#18'RandomChartSource1'#0#0#5'TLine'#7'clRight'#9'LineStyle'#7#10'lsVe' + +'rtical'#9'Pen.Color'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0 + +#152#153#153#153#153#153#217#255'?'#11'SeriesColor'#7#7'clGreen'#9'UseBounds' + +#8#0#0#5'TLine'#6'clLeft'#9'LineStyle'#7#10'lsVertical'#9'Pen.Color'#7#7'clG' + +'reen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0#152#153#153#153#153#153#217 + +#255#191#11'SeriesColor'#7#7'clGreen'#9'UseBounds'#8#0#0#5'TLine'#5'clTop'#9 + +'Pen.Color'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Position'#5#0#152#153#153 + +#153#153#153#217#255'?'#11'SeriesColor'#7#7'clGreen'#9'UseBounds'#8#0#0#5'TL' + +'ine'#8'clBottom'#9'Pen.Color'#7#7'clGreen'#9'Pen.Style'#7#5'psDot'#8'Positi' + +'on'#5#0#152#153#153#153#153#153#217#255#191#11'SeriesColor'#7#7'clGreen'#9 + +'UseBounds'#8#0#0#0#6'TPanel'#6'Panel1'#4'Left'#2#0#6'Height'#2'Z'#3'Top'#3 + +'3'#1#5'Width'#3#140#1#5'Align'#7#8'alBottom'#12'ClientHeight'#2'Z'#11'Clien' + +'tWidth'#3#140#1#8'TabOrder'#2#1#0#6'TLabel'#13'lblBoundValue'#4'Left'#3#160 + +#0#6'Height'#2#14#3'Top'#2#21#5'Width'#2#27#7'Caption'#6#5'Value'#11'ParentC' + +'olor'#8#0#0#11'TCheckGroup'#11'cgUseBounds'#4'Left'#2#1#6'Height'#2'X'#3'To' + +'p'#2#1#5'Width'#3#147#0#5'Align'#7#6'alLeft'#8'AutoFill'#9#7'Caption'#6#12 + +' Use bounds '#28'ChildSizing.LeftRightSpacing'#2#8#28'ChildSizing.TopBottom' + +'Spacing'#2#6#29'ChildSizing.EnlargeHorizontal'#7#24'crsHomogenousChildResiz' + +'e'#27'ChildSizing.EnlargeVertical'#7#24'crsHomogenousChildResize'#28'ChildS' + +'izing.ShrinkHorizontal'#7#14'crsScaleChilds'#26'ChildSizing.ShrinkVertical' + +#7#14'crsScaleChilds'#18'ChildSizing.Layout'#7#29'cclLeftToRightThenTopToBot' + +'tom'#27'ChildSizing.ControlsPerLine'#2#1#13'Items.Strings'#1#6#4'Left'#6#5 + +'Right'#6#6'Bottom'#6#3'Top'#0#11'OnItemClick'#7#20'cgUseBoundsItemClick'#8 + +'TabOrder'#2#0#4'Data'#10#8#0#0#0#4#0#0#0#2#2#2#2#0#0#14'TFloatSpinEdit'#9'f' + +'seBounds'#4'Left'#3#204#0#6'Height'#2#21#3'Top'#2#17#5'Width'#2'2'#9'Increm' + +'ent'#5#0#208#204#204#204#204#204#204#251'?'#8'MaxValue'#5#0#0#0#0#0#0#0#160 + +#2'@'#8'MinValue'#5#0#0#0#0#0#0#0#128#255'?'#8'OnChange'#7#15'fseBoundsChang' + +'e'#8'TabOrder'#2#1#5'Value'#5#0#152#153#153#153#153#153#217#255'?'#0#0#0#18 + +'TRandomChartSource'#18'RandomChartSource1'#12'PointsNumber'#2#20#8'RandSeed' + +#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 ]);