TAChart: Set default columns count to 1 in listbox demo

git-svn-id: trunk@31639 -
This commit is contained in:
ask 2011-07-10 04:05:38 +00:00
parent 61891d6766
commit 40e5b784e4
2 changed files with 3 additions and 1 deletions

View File

@ -215,8 +215,10 @@ object Form1: TForm1
Height = 21
Top = 340
Width = 50
MinValue = 1
OnChange = EdColumnsChange
TabOrder = 9
Value = 1
end
object Label2: TLabel
Left = 152

View File

@ -210,7 +210,7 @@ begin
ser := TLineSeries.Create(Chart);
ser.Source := cs;
ser.SeriesColor := rgbToColor(Random(255), Random(256), Random(256));
ser.Title := Format('Series %d', [Chart.SeriesCount+1]);
ser.Title := Format('Series %d', [Chart.SeriesCount + 1]);
ser.ShowPoints := Odd(Chart.SeriesCount);
ser.Pointer.Brush.Color := ser.SeriesColor;
ser.Pointer.Style :=