File: main.lfm

package info (click to toggle)
lazarus 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 275,760 kB
  • sloc: pascal: 2,341,904; xml: 509,420; makefile: 348,726; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (179 lines) | stat: -rw-r--r-- 4,172 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
object Form1: TForm1
  Left = 332
  Height = 384
  Top = 127
  Width = 633
  Caption = 'Form1'
  ClientHeight = 384
  ClientWidth = 633
  LCLVersion = '3.99.0.0'
  OnCreate = FormCreate
  object Chart1: TChart
    Left = 0
    Height = 349
    Top = 0
    Width = 633
    AxisList = <    
      item
        Grid.Color = clSilver
        Marks.LabelBrush.Style = bsClear
        Minors = <>
        Title.LabelFont.Orientation = 900
        Title.LabelBrush.Style = bsClear
      end    
      item
        Grid.Visible = False
        Intervals.MaxLength = 150
        Intervals.MinLength = 50
        Alignment = calBottom
        Marks.LabelBrush.Style = bsClear
        Minors = <>
        Title.LabelBrush.Style = bsClear
      end>
    BackColor = clWhite
    Foot.Brush.Color = clBtnFace
    Foot.Font.Color = clBlue
    Legend.Visible = True
    Title.Brush.Color = clBtnFace
    Title.Font.Color = clBlue
    Title.Text.Strings = (
      'TAChart'
    )
    Align = alClient
    object BarSeries: TBarSeries
      Legend.Multiplicity = lmStyle
      AxisIndexX = 1
      AxisIndexY = 0
      BarBrush.Color = clRed
      Depth = 20
      DepthBrightnessDelta = -32
      Marks.LabelFont.Color = clWhite
      Marks.Visible = False
      Marks.LabelBrush.Color = clOlive
      Marks.LinkPen.Color = clGray
      Styles = ChartStyles1
    end
  end
  object Panel1: TPanel
    Left = 0
    Height = 35
    Top = 349
    Width = 633
    Align = alBottom
    AutoSize = True
    BevelOuter = bvNone
    ClientHeight = 35
    ClientWidth = 633
    TabOrder = 1
    object lblShape: TLabel
      AnchorSideLeft.Control = Panel1
      AnchorSideTop.Control = cmbShape
      AnchorSideTop.Side = asrCenter
      Left = 6
      Height = 15
      Top = 10
      Width = 32
      BorderSpacing.Left = 6
      BorderSpacing.Right = 6
      Caption = 'Shape'
    end
    object cmbShape: TComboBox
      AnchorSideLeft.Control = lblShape
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = Panel1
      Left = 44
      Height = 23
      Top = 6
      Width = 164
      BorderSpacing.Left = 6
      BorderSpacing.Top = 6
      BorderSpacing.Bottom = 6
      ItemHeight = 15
      ItemIndex = 0
      Items.Strings = (
        'rectangular box'
        'cylinder'
        'hexagonal prism'
        'pyramid'
        'conical'
      )
      Style = csDropDownList
      TabOrder = 0
      Text = 'rectangular box'
      OnChange = cmbShapeChange
    end
    object cb3D: TCheckBox
      AnchorSideLeft.Control = cmbShape
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = cmbShape
      AnchorSideTop.Side = asrCenter
      Left = 220
      Height = 19
      Top = 8
      Width = 32
      BorderSpacing.Left = 12
      Caption = '3D'
      Checked = True
      State = cbChecked
      TabOrder = 1
      OnChange = cb3DChange
    end
    object cbRotated: TCheckBox
      AnchorSideLeft.Control = cb3D
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = cmbShape
      AnchorSideTop.Side = asrCenter
      Left = 264
      Height = 19
      Top = 8
      Width = 59
      BorderSpacing.Left = 12
      Caption = 'Rotated'
      TabOrder = 2
      OnChange = cbRotatedChange
    end
    object cbShowLabels: TCheckBox
      AnchorSideLeft.Control = cbRotated
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = Panel1
      AnchorSideTop.Side = asrCenter
      Left = 335
      Height = 19
      Top = 8
      Width = 80
      BorderSpacing.Left = 12
      Caption = 'Show labels'
      TabOrder = 3
      OnChange = cbShowLabelsChange
    end
  end
  object RandomChartSource1: TRandomChartSource
    PointsNumber = 6
    RandSeed = 1050736283
    XMax = 5
    YCount = 3
    YMax = 100
    Left = 136
    Top = 81
  end
  object ChartStyles1: TChartStyles
    Styles = <    
      item
        Brush.Color = clRed
        Text = 'RED'
        UseFont = False
      end    
      item
        Brush.Color = clYellow
        Text = 'YELLOW'
        UseFont = False
      end    
      item
        Brush.Color = clBlue
        Text = 'BLUE'
        UseFont = False
      end>
    Left = 232
    Top = 79
  end
end