TAChart: Update demo

git-svn-id: trunk@21908 -
This commit is contained in:
ask 2009-09-28 15:45:59 +00:00
parent 4abec83a51
commit b8a7060466
3 changed files with 34 additions and 34 deletions

View File

@ -52,13 +52,13 @@ object Form1: TForm1
AreaBrush.Color = clGreen
AreaBrush.Style = bsCross
SeriesColor = clGreen
Source = RandomChartSource2
Source = RandomChartSource1
end
object Chart1PieSeries1: TPieSeries
Marks.Format = '%1:.2f%%'
Marks.Style = smsPercent
Marks.Visible = False
Source = RandomChartSource1
Exploded = True
Source = ListChartSource2
end
end
object pnControls: TPanel
@ -166,16 +166,6 @@ object Form1: TForm1
end
end
object RandomChartSource1: TRandomChartSource
PointsNumber = 7
RandSeed = 103892781
XMax = 10
XMin = 1
YMax = 10
YMin = 1
left = 380
top = 56
end
object RandomChartSource2: TRandomChartSource
PointsNumber = 7
RandSeed = 104675296
XMax = 10
@ -196,4 +186,15 @@ object Form1: TForm1
left = 380
top = 168
end
object ListChartSource2: TListChartSource
DataPoints.Strings = (
'0|5||'
'0|6||'
'0,2|4||'
'0|7||'
'0|2||'
)
left = 380
top = 228
end
end

View File

@ -17,18 +17,18 @@ LazarusResources.Add('TForm1','FORMDATA',[
+'rush.Color'#7#5'clRed'#11'SeriesColor'#7#5'clRed'#10'ShowPoints'#9#6'Source'
+#7#16'ListChartSource1'#0#0#11'TAreaSeries'#17'Chart1AreaSeries1'#5'Title'#6
+#4'Area'#15'AreaBrush.Color'#7#7'clGreen'#15'AreaBrush.Style'#7#7'bsCross'#11
+'SeriesColor'#7#7'clGreen'#6'Source'#7#18'RandomChartSource2'#0#0#10'TPieSer'
+'SeriesColor'#7#7'clGreen'#6'Source'#7#18'RandomChartSource1'#0#0#10'TPieSer'
+'ies'#16'Chart1PieSeries1'#12'Marks.Format'#6#8'%1:.2f%%'#11'Marks.Style'#7
+#10'smsPercent'#13'Marks.Visible'#8#6'Source'#7#18'RandomChartSource1'#0#0#0
+#6'TPanel'#10'pnControls'#4'Left'#2#0#6'Height'#2'>'#3'Top'#3'+'#1#5'Width'#3
+#254#1#5'Align'#7#8'alBottom'#12'ClientHeight'#2'>'#11'ClientWidth'#3#254#1#8
+'TabOrder'#2#1#0#9'TSpinEdit'#9'seSpacing'#4'Left'#2'<'#6'Height'#2#21#3'Top'
+#2#8#5'Width'#2'6'#8'MaxValue'#2#20#8'OnChange'#7#15'seSpacingChange'#8'TabO'
+'rder'#2#0#5'Value'#2#4#0#0#6'TLabel'#10'lblSpacing'#4'Left'#2#8#6'Height'#2
+#14#3'Top'#2#8#5'Width'#2'&'#7'Caption'#6#7'Spacing'#11'ParentColor'#8#0#0#6
+'TLabel'#9'lblMargin'#4'Left'#2#12#6'Height'#2#14#3'Top'#2'!'#5'Width'#2'!'#7
+'Caption'#6#6'Margin'#11'ParentColor'#8#0#0#9'TSpinEdit'#8'seMargin'#4'Left'
+#2'<'#6'Height'#2#21#3'Top'#2'!'#5'Width'#2'6'#8'MaxValue'#2#20#8'OnChange'#7
+#10'smsPercent'#8'Exploded'#9#6'Source'#7#16'ListChartSource2'#0#0#0#6'TPane'
+'l'#10'pnControls'#4'Left'#2#0#6'Height'#2'>'#3'Top'#3'+'#1#5'Width'#3#254#1
+#5'Align'#7#8'alBottom'#12'ClientHeight'#2'>'#11'ClientWidth'#3#254#1#8'TabO'
+'rder'#2#1#0#9'TSpinEdit'#9'seSpacing'#4'Left'#2'<'#6'Height'#2#21#3'Top'#2#8
+#5'Width'#2'6'#8'MaxValue'#2#20#8'OnChange'#7#15'seSpacingChange'#8'TabOrder'
+#2#0#5'Value'#2#4#0#0#6'TLabel'#10'lblSpacing'#4'Left'#2#8#6'Height'#2#14#3
+'Top'#2#8#5'Width'#2'&'#7'Caption'#6#7'Spacing'#11'ParentColor'#8#0#0#6'TLab'
+'el'#9'lblMargin'#4'Left'#2#12#6'Height'#2#14#3'Top'#2'!'#5'Width'#2'!'#7'Ca'
+'ption'#6#6'Margin'#11'ParentColor'#8#0#0#9'TSpinEdit'#8'seMargin'#4'Left'#2
+'<'#6'Height'#2#21#3'Top'#2'!'#5'Width'#2'6'#8'MaxValue'#2#20#8'OnChange'#7
+#14'seMarginChange'#8'TabOrder'#2#1#5'Value'#2#4#0#0#9'TSpinEdit'#13'seSymbo'
+'lWidth'#4'Left'#3#200#0#6'Height'#2#21#3'Top'#2#8#5'Width'#2'6'#8'MaxValue'
+#2'2'#8'OnChange'#7#19'seSymbolWidthChange'#8'TabOrder'#2#2#5'Value'#2#20#0#0
@ -47,13 +47,12 @@ LazarusResources.Add('TForm1','FORMDATA',[
+#0#0#9'TCheckBox'#12'cbUseSidebar'#4'Left'#3#128#0#6'Height'#2#17#3'Top'#2'!'
+#5'Width'#2'8'#7'Caption'#6#7'Sidebar'#7'Checked'#9#8'OnChange'#7#18'cbUseSi'
+'debarChange'#5'State'#7#9'cbChecked'#8'TabOrder'#2#4#0#0#0#18'TRandomChartS'
+'ource'#18'RandomChartSource1'#12'PointsNumber'#2#7#8'RandSeed'#4'-G1'#6#4'X'
+'Max'#5#0#0#0#0#0#0#0#160#2'@'#4'XMin'#5#0#0#0#0#0#0#0#128#255'?'#4'YMax'#5#0
+#0#0#0#0#0#0#160#2'@'#4'YMin'#5#0#0#0#0#0#0#0#128#255'?'#4'left'#3'|'#1#3'to'
+'p'#2'8'#0#0#18'TRandomChartSource'#18'RandomChartSource2'#12'PointsNumber'#2
+#7#8'RandSeed'#4#224'7='#6#4'XMax'#5#0#0#0#0#0#0#0#160#2'@'#4'XMin'#5#0#0#0#0
+#0#0#0#128#255'?'#4'YMax'#5#0#0#0#0#0#0#0#160#2'@'#4'YMin'#5#0#0#0#0#0#0#0
+#128#255'?'#4'left'#3'|'#1#3'top'#2'p'#0#0#16'TListChartSource'#16'ListChart'
+'Source1'#18'DataPoints.Strings'#1#6#5'0|0||'#6#5'1|2||'#6#5'2|5||'#6#5'3|1|'
+'|'#6#5'4|6||'#0#4'left'#3'|'#1#3'top'#3#168#0#0#0#0
+'ource'#18'RandomChartSource1'#12'PointsNumber'#2#7#8'RandSeed'#4#224'7='#6#4
+'XMax'#5#0#0#0#0#0#0#0#160#2'@'#4'XMin'#5#0#0#0#0#0#0#0#128#255'?'#4'YMax'#5
+#0#0#0#0#0#0#0#160#2'@'#4'YMin'#5#0#0#0#0#0#0#0#128#255'?'#4'left'#3'|'#1#3
+'top'#2'p'#0#0#16'TListChartSource'#16'ListChartSource1'#18'DataPoints.Strin'
+'gs'#1#6#5'0|0||'#6#5'1|2||'#6#5'2|5||'#6#5'3|1||'#6#5'4|6||'#0#4'left'#3'|'
+#1#3'top'#3#168#0#0#0#16'TListChartSource'#16'ListChartSource2'#18'DataPoint'
+'s.Strings'#1#6#5'0|5||'#6#5'0|6||'#6#7'0,2|4||'#6#5'0|7||'#6#5'0|2||'#0#4'l'
+'eft'#3'|'#1#3'top'#3#228#0#0#0#0
]);

View File

@ -22,10 +22,10 @@ type
lblSpacing: TLabel;
lblMargin: TLabel;
ListChartSource1: TListChartSource;
ListChartSource2: TListChartSource;
pnControls: TPanel;
rgAlignment: TRadioGroup;
RandomChartSource1: TRandomChartSource;
RandomChartSource2: TRandomChartSource;
seSymbolWidth: TSpinEdit;
seSpacing: TSpinEdit;
seMargin: TSpinEdit;