File: Main.lfm

package info (click to toggle)
lazarus 2.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 214,460 kB
  • sloc: pascal: 1,862,622; xml: 265,709; cpp: 56,595; sh: 3,008; java: 609; makefile: 535; perl: 297; sql: 222; ansic: 137
file content (317 lines) | stat: -rw-r--r-- 8,480 bytes parent folder | download | duplicates (2)
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
object Form1: TForm1
  Left = 461
  Height = 430
  Top = 151
  Width = 592
  Caption = 'Form1'
  ClientHeight = 430
  ClientWidth = 592
  Position = poScreenCenter
  LCLVersion = '2.1.0.0'
  object pcMain: TPageControl
    Left = 0
    Height = 364
    Top = 0
    Width = 592
    ActivePage = tsBar
    Align = alClient
    TabIndex = 0
    TabOrder = 0
    object tsBar: TTabSheet
      Caption = 'Bar'
      ClientHeight = 336
      ClientWidth = 584
      object Chart1: TChart
        Left = 0
        Height = 336
        Top = 0
        Width = 584
        AxisList = <        
          item
            TickLength = 0
            Marks.Distance = 4
            Marks.LabelBrush.Color = clSkyBlue
            Minors = <>
            Title.LabelFont.Orientation = 900
            Title.Visible = True
            Title.Caption = 'Left axis title'
          end        
          item
            Alignment = calBottom
            AxisPen.Visible = True
            Marks.LabelBrush.Color = clSkyBlue
            Minors = <>
            Title.Visible = True
            Title.Caption = 'Bottom axis title'
            Title.Frame.Style = psSolid
            Title.LabelBrush.Style = bsClear
          end>
        Foot.Brush.Color = clBtnFace
        Foot.Font.Color = clBlue
        Frame.Visible = False
        Margins.Bottom = 0
        Title.Brush.Color = clBtnFace
        Title.Font.Color = clBlue
        Title.Text.Strings = (
          'TAChart'
        )
        Align = alClient
        object Chart1BarSeries1: TBarSeries
          Marks.Margins.Left = 8
          Marks.Margins.Top = 5
          Marks.Margins.Right = 8
          Marks.Margins.Bottom = 5
          Marks.Arrow.BaseLength = 3
          Marks.Arrow.Length = 9
          Marks.Arrow.Visible = True
          Marks.Arrow.Width = 4
          Marks.Format = '%1:.2f%%'
          Marks.Frame.Color = 31097
          Marks.Frame.Width = 2
          Marks.Style = smsPercent
          BarBrush.Color = 1410280
          Source = RandomChartSource1
        end
      end
    end
    object Multiline: TTabSheet
      Caption = 'Multiline'
      ClientHeight = 336
      ClientWidth = 584
      object ChartMulti: TChart
        Left = 0
        Height = 336
        Top = 0
        Width = 584
        AxisList = <        
          item
            Marks.Alignment = taCenter
            Marks.LabelFont.Orientation = 900
            Marks.Frame.Style = psSolid
            Marks.LabelBrush.Style = bsClear
            Minors = <>
            Title.LabelFont.Orientation = 900
            Title.LabelBrush.Style = bsClear
            OnMarkToText = ChartMultiAxisList1MarkToText
          end        
          item
            Alignment = calBottom
            Marks.Frame.Style = psSolid
            Marks.LabelBrush.Style = bsClear
            Minors = <>
            Title.Visible = True
            Title.Caption = 'test'
            Title.LabelBrush.Style = bsClear
            OnMarkToText = ChartMultiAxisList1MarkToText
          end>
        Foot.Brush.Color = clBtnFace
        Foot.Font.Color = clBlue
        Foot.Text.Strings = (
          'TAChart'
        )
        Title.Brush.Color = clBtnFace
        Title.Brush.Style = bsClear
        Title.Font.Color = clBlue
        Title.Text.Strings = (
          'Chart long'
          'title'
        )
        Title.Visible = True
        Align = alClient
        object ChartMultiLineSeries1: TLineSeries
          Source = RandomChartSource1
        end
      end
    end
  end
  object pnlControls: TPanel
    Left = 0
    Height = 66
    Top = 364
    Width = 592
    Align = alBottom
    AutoSize = True
    BevelOuter = bvNone
    ClientHeight = 66
    ClientWidth = 592
    TabOrder = 1
    object cbHideOverlapping: TCheckBox
      AnchorSideLeft.Control = gbAngles
      AnchorSideLeft.Side = asrBottom
      AnchorSideTop.Control = pnlControls
      Left = 420
      Height = 19
      Top = 8
      Width = 144
      BorderSpacing.Left = 16
      BorderSpacing.Top = 8
      Caption = 'Hide overlapping labels'
      OnChange = cbHideOverlappingChange
      TabOrder = 0
    end
    object gbAngles: TGroupBox
      Left = 0
      Height = 66
      Top = 0
      Width = 404
      Align = alLeft
      AutoSize = True
      Caption = ' Angles '
      ClientHeight = 46
      ClientWidth = 400
      TabOrder = 1
      object seAxisAngle: TSpinEdit
        AnchorSideLeft.Control = lblAxisAngle
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = gbAngles
        Left = 37
        Height = 23
        Top = 8
        Width = 50
        BorderSpacing.Left = 8
        BorderSpacing.Top = 8
        BorderSpacing.Bottom = 8
        Increment = 5
        MaxValue = 360
        MinValue = -360
        OnChange = seAxisAngleChange
        TabOrder = 0
      end
      object lblAxisAngle: TLabel
        AnchorSideLeft.Control = gbAngles
        AnchorSideTop.Control = seAxisAngle
        AnchorSideTop.Side = asrCenter
        Left = 8
        Height = 15
        Top = 12
        Width = 21
        BorderSpacing.Left = 8
        Caption = 'Axis'
        ParentColor = False
      end
      object lblSeriesAngle: TLabel
        AnchorSideLeft.Control = seAxisAngle
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = seSeriesAngle
        AnchorSideTop.Side = asrCenter
        Left = 103
        Height = 15
        Top = 12
        Width = 30
        BorderSpacing.Left = 16
        Caption = 'Series'
        ParentColor = False
      end
      object seSeriesAngle: TSpinEdit
        AnchorSideLeft.Control = lblSeriesAngle
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = gbAngles
        Left = 141
        Height = 23
        Top = 8
        Width = 50
        BorderSpacing.Left = 8
        BorderSpacing.Top = 8
        BorderSpacing.Bottom = 8
        Increment = 5
        MaxValue = 360
        MinValue = -360
        OnChange = seSeriesAngleChange
        TabOrder = 1
      end
      object lblTitleAngle: TLabel
        AnchorSideLeft.Control = seSeriesAngle
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = seTitleAngle
        AnchorSideTop.Side = asrCenter
        Left = 207
        Height = 15
        Top = 12
        Width = 23
        BorderSpacing.Left = 16
        Caption = 'Title'
        ParentColor = False
      end
      object seTitleAngle: TSpinEdit
        AnchorSideLeft.Control = lblTitleAngle
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = gbAngles
        Left = 238
        Height = 23
        Top = 8
        Width = 50
        BorderSpacing.Left = 8
        BorderSpacing.Top = 8
        BorderSpacing.Bottom = 8
        Increment = 5
        MaxValue = 360
        MinValue = -360
        OnChange = seTitleAngleChange
        TabOrder = 2
      end
      object seCalloutAngle: TSpinEdit
        AnchorSideLeft.Control = lblCalloutAngle
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = gbAngles
        Left = 350
        Height = 23
        Top = 8
        Width = 50
        BorderSpacing.Left = 8
        BorderSpacing.Top = 8
        BorderSpacing.Bottom = 8
        Increment = 5
        MaxValue = 120
        OnChange = seCalloutAngleChange
        TabOrder = 3
      end
      object lblCalloutAngle: TLabel
        AnchorSideLeft.Control = seTitleAngle
        AnchorSideLeft.Side = asrBottom
        AnchorSideTop.Control = seCalloutAngle
        AnchorSideTop.Side = asrCenter
        Left = 304
        Height = 15
        Top = 12
        Width = 38
        BorderSpacing.Left = 16
        Caption = 'Callout'
        ParentColor = False
      end
    end
    object cbShape: TComboBox
      AnchorSideLeft.Control = cbHideOverlapping
      AnchorSideTop.Control = cbHideOverlapping
      AnchorSideTop.Side = asrBottom
      Left = 420
      Height = 23
      Top = 35
      Width = 160
      BorderSpacing.Top = 8
      BorderSpacing.Bottom = 8
      ItemHeight = 15
      ItemIndex = 0
      Items.Strings = (
        'Rectangle'
        'Ellipse'
        'Rounded corners'
        'Rounded sides'
        'User-defined'
      )
      OnChange = cbShapeChange
      Style = csDropDownList
      TabOrder = 2
      Text = 'Rectangle'
    end
  end
  object RandomChartSource1: TRandomChartSource
    PointsNumber = 15
    RandSeed = 567673250
    XMax = 15
    XMin = 0
    YMax = 15
    YMin = 10
    left = 342
    top = 94
  end
end