File: unit1.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 (617 lines) | stat: -rw-r--r-- 16,341 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
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
object Form1: TForm1
  Left = 394
  Height = 492
  Top = 225
  Width = 881
  Caption = 'Form1'
  ClientHeight = 492
  ClientWidth = 881
  OnCreate = FormCreate
  LCLVersion = '1.9.0.0'
  object Panel1: TPanel
    Left = 0
    Height = 492
    Top = 0
    Width = 160
    Align = alLeft
    ClientHeight = 492
    ClientWidth = 160
    TabOrder = 0
    object CbLineAtDataOnly: TCheckBox
      Left = 12
      Height = 19
      Top = 10
      Width = 107
      Caption = 'Line at data only'
      Checked = True
      OnChange = CbLineAtDataOnlyChange
      State = cbChecked
      TabOrder = 0
    end
    object CbShowHorGrid: TCheckBox
      Left = 12
      Height = 19
      Top = 184
      Width = 62
      Caption = 'hor grid'
      OnChange = CbShowGridChange
      TabOrder = 1
    end
    object CbShowArrow: TCheckBox
      Left = 12
      Height = 19
      Top = 112
      Width = 52
      Caption = 'Arrow'
      OnChange = CbShowArrowChange
      TabOrder = 2
    end
    object CbInverted: TCheckBox
      Left = 12
      Height = 19
      Top = 136
      Width = 63
      Caption = 'Inverted'
      OnChange = CbInvertedChange
      TabOrder = 3
    end
    object CbBiDiMode: TCheckBox
      Left = 12
      Height = 19
      Top = 160
      Width = 83
      Caption = 'right-to-left'
      OnChange = CbBiDiModeChange
      TabOrder = 4
    end
    object CbMarksAtDataOnly: TCheckBox
      Left = 12
      Height = 19
      Top = 37
      Width = 117
      Caption = 'Marks at data only'
      Checked = True
      OnChange = CbMarksAtDataOnlyChange
      State = cbChecked
      TabOrder = 5
    end
    object Label1: TLabel
      Left = 12
      Height = 15
      Top = 256
      Width = 36
      Caption = 'Range:'
      ParentColor = False
    end
    object CbUseMax: TCheckBox
      Left = 12
      Height = 19
      Top = 272
      Width = 61
      Caption = 'UseMax'
      OnChange = CbUseMaxChange
      TabOrder = 6
    end
    object CbUseMin: TCheckBox
      Left = 12
      Height = 19
      Top = 296
      Width = 60
      Caption = 'UseMin'
      OnChange = CbUseMinChange
      TabOrder = 7
    end
    object CbGrouped: TCheckBox
      Left = 12
      Height = 19
      Top = 64
      Width = 66
      Caption = 'Grouped'
      OnChange = CbGroupedChange
      TabOrder = 8
    end
    object CbShowFrame: TCheckBox
      Left = 12
      Height = 19
      Top = 88
      Width = 53
      Caption = 'Frame'
      Checked = True
      OnChange = CbShowFrameChange
      State = cbChecked
      TabOrder = 9
    end
    object CbShowVertGrid: TCheckBox
      Left = 12
      Height = 19
      Top = 208
      Width = 64
      Caption = 'vert grid'
      OnChange = CbShowGridChange
      TabOrder = 10
    end
    object Label2: TLabel
      Left = 12
      Height = 51
      Top = 424
      Width = 135
      Anchors = [akTop, akLeft, akRight]
      AutoSize = False
      Caption = 'Drag the dashed lines...'
      ParentColor = False
      WordWrap = True
    end
    object CheckBox1: TCheckBox
      Left = 12
      Height = 19
      Top = 336
      Width = 132
      Caption = 'TFuncSeries in center'
      OnChange = CheckBox1Change
      TabOrder = 11
    end
    object LblXExtentIgnored: TLabel
      Left = 12
      Height = 52
      Top = 356
      Width = 140
      AutoSize = False
      Caption = '(x extent ignored - see docs)'
      ParentColor = False
      WordWrap = True
    end
  end
  object PageControl1: TPageControl
    Left = 160
    Height = 492
    Top = 0
    Width = 721
    ActivePage = TabSheet2
    Align = alClient
    TabIndex = 1
    TabOrder = 1
    OnChange = PageControl1Change
    OnChanging = PageControl1Changing
    object TabSheet1: TTabSheet
      Caption = 'Horizontal panes'
      ClientHeight = 464
      ClientWidth = 713
      object Chart1: TChart
        Left = 0
        Height = 464
        Top = 0
        Width = 713
        AxisList = <        
          item
            Grid.Color = clGray
            Grid.Visible = False
            Alignment = calBottom
            AxisPen.Visible = True
            Marks.LabelBrush.Style = bsClear
            Minors = <>
            Title.Visible = True
            Title.Caption = 'x axis'
            Title.LabelBrush.Style = bsClear
          end        
          item
            Grid.Color = clGray
            Grid.Visible = False
            Intervals.MaxLength = 40
            TickColor = clBlue
            AtDataOnly = True
            AxisPen.Color = clBlue
            AxisPen.Visible = True
            Marks.LabelFont.Color = clBlue
            Marks.AtDataOnly = True
            Marks.LabelBrush.Style = bsClear
            Minors = <>
            Range.Max = 5
            Range.Min = -5
            Title.LabelFont.Color = clBlue
            Title.LabelFont.Orientation = 900
            Title.Visible = True
            Title.Caption = 'y1 axis'
            Title.LabelBrush.Style = bsClear
            Title.PositionOnMarks = True
            Transformations = ChartAxisTransformations1
          end        
          item
            Grid.Color = clGray
            Grid.Visible = False
            TickColor = clRed
            AtDataOnly = True
            AxisPen.Color = clRed
            AxisPen.Visible = True
            Marks.LabelFont.Color = clRed
            Marks.AtDataOnly = True
            Marks.LabelBrush.Style = bsClear
            Minors = <>
            Range.Max = 20
            Title.LabelFont.Color = clRed
            Title.LabelFont.Orientation = 900
            Title.Visible = True
            Title.Caption = 'y2 axis'
            Title.LabelBrush.Style = bsClear
            Title.PositionOnMarks = True
            Transformations = ChartAxisTransformations2
          end        
          item
            Grid.Color = clGray
            Grid.Visible = False
            AtDataOnly = True
            AxisPen.Color = clFuchsia
            AxisPen.Visible = True
            Marks.LabelFont.Color = clFuchsia
            Marks.AtDataOnly = True
            Marks.LabelBrush.Style = bsClear
            Minors = <>
            Range.Max = 100
            Range.Min = -100
            Title.LabelFont.Color = clFuchsia
            Title.LabelFont.Orientation = 900
            Title.Visible = True
            Title.Caption = 'y3 axis'
            Title.LabelBrush.Style = bsClear
            Title.PositionOnMarks = True
            Transformations = ChartAxisTransformations3
          end>
        BackColor = clNone
        Extent.UseYMax = True
        Extent.UseYMin = True
        Extent.YMax = 10
        Foot.Brush.Color = clBtnFace
        Foot.Font.Color = clBlue
        Title.Brush.Color = clBtnFace
        Title.Font.Color = clBlue
        Title.Text.Strings = (
          'TAChart'
        )
        Toolset = ChartToolset1
        Align = alClient
        Color = clNone
        object Chart1LineSeries1: TLineSeries
          AxisIndexX = 0
          AxisIndexY = 1
          LinePen.Color = clBlue
          Source = RandomChartSource11
        end
        object Chart1LineSeries2: TLineSeries
          AxisIndexX = 0
          AxisIndexY = 2
          LinePen.Color = clRed
          Source = RandomChartSource12
        end
        object Chart1LineSeries3: TLineSeries
          AxisIndexX = 0
          AxisIndexY = 3
          LinePen.Color = clFuchsia
          Source = RandomChartSource13
        end
        object Chart1LineSeries4: TLineSeries
          AxisIndexX = 0
          AxisIndexY = 3
          LinePen.Color = clFuchsia
          LinePen.Style = psDot
          Source = RandomChartSource14
        end
        object Chart1ConstantLine1: TConstantLine
          Pen.Color = clBlue
          Pen.Style = psDash
          Position = 2
        end
        object Chart1ConstantLine2: TConstantLine
          Pen.Color = clRed
          Pen.Style = psDash
          Position = 3
        end
        object Chart1ConstantLine3: TConstantLine
          Pen.Color = clRed
          Pen.Style = psDash
          Position = 5
        end
        object Chart1ConstantLine4: TConstantLine
          Pen.Color = clFuchsia
          Pen.Style = psDash
          Position = 6
        end
        object Chart1FuncSeries2: TFuncSeries
          Active = False
          Extent.UseYMax = True
          Extent.UseYMin = True
          Extent.YMax = 1
          Extent.YMin = -1
          AxisIndexX = 0
          AxisIndexY = 2
          ExtentAutoY = True
          Pen.Color = clRed
          Step = 1
          OnCalculate = Chart1FuncSeries2Calculate
        end
      end
    end
    object TabSheet2: TTabSheet
      Caption = 'Vertical panes'
      ClientHeight = 464
      ClientWidth = 713
      object Chart2: TChart
        Left = 0
        Height = 464
        Top = 0
        Width = 713
        AxisList = <        
          item
            Grid.Color = clGray
            Grid.Visible = False
            AxisPen.Visible = True
            Marks.LabelBrush.Style = bsClear
            Minors = <>
            Title.LabelFont.Orientation = 900
            Title.Visible = True
            Title.Caption = 'y axis'
            Title.LabelBrush.Style = bsClear
          end        
          item
            Grid.Color = clGray
            Grid.Visible = False
            TickColor = clBlue
            Alignment = calBottom
            AtDataOnly = True
            AxisPen.Color = clBlue
            AxisPen.Visible = True
            Marks.LabelFont.Color = clBlue
            Marks.AtDataOnly = True
            Marks.LabelBrush.Style = bsClear
            Minors = <>
            Range.Max = 5
            Range.Min = -5
            Title.LabelFont.Color = clBlue
            Title.Visible = True
            Title.Caption = 'x1 axis'
            Title.LabelBrush.Style = bsClear
            Title.PositionOnMarks = True
            Transformations = ChartAxisTransformations1
          end        
          item
            Grid.Color = clGray
            Grid.Visible = False
            TickColor = clRed
            Alignment = calBottom
            AtDataOnly = True
            AxisPen.Color = clRed
            AxisPen.Visible = True
            Marks.LabelFont.Color = clRed
            Marks.AtDataOnly = True
            Marks.LabelBrush.Style = bsClear
            Minors = <>
            Range.Max = 20
            Title.LabelFont.Color = clRed
            Title.Visible = True
            Title.Caption = 'x2 axis'
            Title.LabelBrush.Style = bsClear
            Title.PositionOnMarks = True
            Transformations = ChartAxisTransformations2
          end        
          item
            Grid.Color = clGray
            Grid.Visible = False
            Alignment = calBottom
            AtDataOnly = True
            AxisPen.Color = clFuchsia
            AxisPen.Visible = True
            Marks.LabelFont.Color = clFuchsia
            Marks.AtDataOnly = True
            Marks.LabelBrush.Style = bsClear
            Minors = <>
            Range.Max = 100
            Range.Min = -100
            Title.LabelFont.Color = clFuchsia
            Title.Visible = True
            Title.Caption = 'x3 axis'
            Title.LabelBrush.Style = bsClear
            Title.PositionOnMarks = True
            Transformations = ChartAxisTransformations3
          end>
        BackColor = clNone
        Extent.UseXMax = True
        Extent.UseXMin = True
        Extent.XMax = 10
        Foot.Brush.Color = clBtnFace
        Foot.Font.Color = clBlue
        Title.Brush.Color = clBtnFace
        Title.Font.Color = clBlue
        Title.Text.Strings = (
          'TAChart'
        )
        Toolset = ChartToolset2
        Align = alClient
        Color = clNone
        object Chart2LineSeries1: TLineSeries
          AxisIndexX = 1
          AxisIndexY = 0
          LinePen.Color = clBlue
          Source = RandomChartSource21
        end
        object Chart2LineSeries2: TLineSeries
          AxisIndexX = 2
          AxisIndexY = 0
          LinePen.Color = clRed
          Source = RandomChartSource22
        end
        object Chart2LineSeries3: TLineSeries
          AxisIndexX = 3
          AxisIndexY = 0
          LinePen.Color = clFuchsia
          Source = RandomChartSource23
        end
        object Chart2LineSeries4: TLineSeries
          AxisIndexX = 3
          AxisIndexY = 0
          LinePen.Color = clFuchsia
          LinePen.Style = psDot
          Source = RandomChartSource24
        end
        object Chart2ConstantLine1: TConstantLine
          LineStyle = lsVertical
          Pen.Color = clBlue
          Pen.Style = psDash
          Position = 2
        end
        object Chart2ConstantLine2: TConstantLine
          LineStyle = lsVertical
          Pen.Color = clRed
          Pen.Style = psDash
          Position = 3
        end
        object Chart2ConstantLine3: TConstantLine
          LineStyle = lsVertical
          Pen.Color = clRed
          Pen.Style = psDash
          Position = 5
        end
        object Chart2ConstantLine4: TConstantLine
          LineStyle = lsVertical
          Pen.Color = clFuchsia
          Pen.Style = psDash
          Position = 6
        end
        object Chart2FuncSeries2: TFuncSeries
          Active = False
          Extent.UseXMax = True
          Extent.UseXMin = True
          Extent.UseYMax = True
          Extent.UseYMin = True
          Extent.XMax = 1
          Extent.YMax = 1
          AxisIndexX = 2
          AxisIndexY = 0
          Pen.Color = clRed
          Step = 1
          OnCalculate = Chart2FuncSeries2Calculate
        end
      end
    end
  end
  object RandomChartSource11: TRandomChartSource
    PointsNumber = 10
    RandSeed = 2088531169
    XMax = 1
    XMin = 0
    YMax = 1
    YMin = 0
    left = 200
    top = 48
  end
  object RandomChartSource12: TRandomChartSource
    PointsNumber = 10
    RandSeed = 2088635735
    XMax = 1
    XMin = 0
    YMax = 10
    YMin = 0
    left = 200
    top = 115
  end
  object RandomChartSource13: TRandomChartSource
    PointsNumber = 10
    RandSeed = 2088693796
    XMax = 1
    XMin = 0
    YMax = 10
    YMin = 0
    left = 200
    top = 188
  end
  object ChartAxisTransformations1: TChartAxisTransformations
    left = 776
    top = 48
    object ChartAxisTransformations1AutoScaleAxisTransform1: TAutoScaleAxisTransform
      MaxValue = 2
    end
  end
  object ChartAxisTransformations2: TChartAxisTransformations
    left = 776
    top = 115
    object ChartAxisTransformations2AutoScaleAxisTransform1: TAutoScaleAxisTransform
      MaxValue = 5
      MinValue = 3
    end
  end
  object ChartAxisTransformations3: TChartAxisTransformations
    left = 776
    top = 188
    object ChartAxisTransformations3AutoScaleAxisTransform1: TAutoScaleAxisTransform
      MaxValue = 10
      MinValue = 6
    end
  end
  object RandomChartSource14: TRandomChartSource
    PointsNumber = 5
    RandSeed = 999856828
    XMax = 1
    XMin = 0
    YMax = 100
    YMin = 0
    left = 200
    top = 256
  end
  object RandomChartSource21: TRandomChartSource
    PointsNumber = 10
    RandSeed = 2088531169
    XMax = 1
    XMin = 0
    YMax = 1
    YMin = 0
    left = 336
    top = 48
  end
  object RandomChartSource22: TRandomChartSource
    PointsNumber = 10
    RandSeed = 2088635735
    XMax = 10
    XMin = 0
    YMax = 1
    YMin = 0
    left = 336
    top = 115
  end
  object RandomChartSource23: TRandomChartSource
    PointsNumber = 10
    RandSeed = 2088693796
    XMax = 10
    XMin = 0
    YMax = 1
    YMin = 0
    left = 336
    top = 188
  end
  object RandomChartSource24: TRandomChartSource
    PointsNumber = 5
    RandSeed = 999856828
    XMax = 100
    XMin = 0
    YMax = 1
    YMin = 0
    left = 336
    top = 256
  end
  object ChartToolset1: TChartToolset
    left = 200
    top = 392
    object ChartToolset1DataPointDragTool1: TDataPointDragTool
      Shift = [ssLeft]
      OnAfterMouseMove = DataPointDragTool_AfterMouseMove
      AffectedSeries = '4,5,6,7'
      ActiveCursor = crSizeNS
    end
  end
  object ChartToolset2: TChartToolset
    left = 336
    top = 392
    object ChartToolset2DataPointDragTool1: TDataPointDragTool
      Shift = [ssLeft]
      OnAfterMouseMove = DataPointDragTool_AfterMouseMove
      AffectedSeries = '4,5,6,7'
      ActiveCursor = crSizeWE
    end
  end
end