-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllChartFrm.dfm
More file actions
321 lines (320 loc) · 6.61 KB
/
llChartFrm.dfm
File metadata and controls
321 lines (320 loc) · 6.61 KB
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
object LLChartForm: TLLChartForm
Left = 429
Top = 377
Width = 995
Height = 743
Caption = 'LL Charts'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
FormStyle = fsMDIChild
OldCreateOrder = False
Position = poDefaultPosOnly
Visible = True
OnClose = FormClose
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object theChart: TChart
Left = 0
Top = 65
Width = 979
Height = 564
AllowZoom = False
BackWall.Brush.Color = clWhite
BackWall.Brush.Style = bsClear
Foot.Visible = False
Title.Text.Strings = (
'TChart')
Title.Visible = False
Legend.Color = clSilver
Legend.ColorWidth = 100
Legend.DividingLines.Width = 5
Legend.LegendStyle = lsSeries
Legend.ShadowSize = 0
Legend.TextStyle = ltsPlain
View3D = False
Align = alClient
TabOrder = 1
end
object PanelControl: TPanel
Left = 0
Top = 0
Width = 979
Height = 65
Align = alTop
TabOrder = 0
object Label1: TLabel
Left = 8
Top = 8
Width = 28
Height = 13
Caption = 'Chart:'
end
object Label2: TLabel
Left = 296
Top = 8
Width = 26
Height = 13
Caption = 'Date:'
end
object ServerLabel: TLabel
Left = 8
Top = 32
Width = 34
Height = 13
Caption = 'Server:'
end
object funcLabel: TLabel
Left = 296
Top = 32
Width = 43
Height = 13
Caption = 'Request:'
end
object RoundLabel: TLabel
Left = 536
Top = 32
Width = 35
Height = 13
Caption = 'Round:'
end
object LabelMinRequests: TLabel
Left = 640
Top = 32
Width = 27
Height = 13
Caption = 'Min#:'
end
object theDatePicker: TDateTimePicker
Left = 344
Top = 8
Width = 137
Height = 21
CalAlignment = dtaLeft
Date = 37328
Time = 37328
DateFormat = dfShort
DateMode = dmComboBox
Kind = dtkDate
ParseInput = False
TabOrder = 1
end
object ModeComboBox: TComboBox
Left = 56
Top = 8
Width = 233
Height = 21
Style = csDropDownList
DropDownCount = 12
ItemHeight = 13
TabOrder = 0
OnChange = ModeComboBoxChange
Items.Strings = (
'Time per Request'
'Average Time per Request and Hour'
'Average Time per Request and Day'
'Total Time per Hour'
'Total Time per Hour and Day'
'Total Time per Hour and Server'
'Analyze'
'Average Requests per Hour'
'Requests per Day'
'Requests per Day and Server'
'Usage per Hour'
'Usage per Day')
end
object serverComboBox: TComboBox
Left = 56
Top = 32
Width = 233
Height = 21
Style = csDropDownList
ItemHeight = 13
TabOrder = 3
end
object CalcButton: TButton
Left = 752
Top = 8
Width = 75
Height = 25
Caption = 'Calc'
TabOrder = 7
OnClick = CalcButtonClick
end
object roundUpDown: TUpDown
Left = 617
Top = 32
Width = 15
Height = 21
Associate = roundEdit
Min = 0
Max = 3
Position = 0
TabOrder = 6
Wrap = False
end
object roundEdit: TEdit
Left = 576
Top = 32
Width = 41
Height = 21
TabOrder = 5
Text = '0'
end
object endDatePicker: TDateTimePicker
Left = 496
Top = 8
Width = 137
Height = 21
CalAlignment = dtaLeft
Date = 37328
Time = 37328
DateFormat = dfShort
DateMode = dmComboBox
Kind = dtkDate
ParseInput = False
TabOrder = 2
end
object funcDBEdit: TDBEdit
Left = 344
Top = 32
Width = 137
Height = 21
DataField = 'FUNC_ID'
DataSource = funcSource
TabOrder = 4
end
object SelectRequestButton: TButton
Left = 752
Top = 32
Width = 75
Height = 25
Caption = 'Sel. Requ.'
TabOrder = 8
OnClick = SelectRequestButtonClick
end
object EditMinRequests: TEdit
Left = 680
Top = 32
Width = 41
Height = 21
TabOrder = 9
Text = '0'
end
object UpDownMinRequests: TUpDown
Left = 721
Top = 32
Width = 15
Height = 21
Associate = EditMinRequests
Min = 0
Max = 32767
Position = 0
TabOrder = 10
Wrap = False
end
object CheckBoxSizer: TCheckBox
Left = 840
Top = 16
Width = 97
Height = 17
Caption = 'Sizer'
Checked = True
State = cbChecked
TabOrder = 11
OnClick = CheckBoxSizerClick
end
object CheckBoxLegend: TCheckBox
Left = 840
Top = 40
Width = 97
Height = 17
Caption = 'Legend'
Checked = True
State = cbChecked
TabOrder = 12
OnClick = CheckBoxLegendClick
end
end
object PanelSizer: TPanel
Left = 0
Top = 629
Width = 979
Height = 75
Align = alBottom
TabOrder = 2
object ScrollBar: TScrollBar
Left = 8
Top = 48
Width = 971
Height = 16
Anchors = [akLeft, akTop, akRight]
Max = 0
PageSize = 1
TabOrder = 0
OnChange = ScrollBarChange
end
object TrackBar: TTrackBar
Left = 8
Top = 8
Width = 971
Height = 33
Anchors = [akLeft, akTop, akRight]
Max = 100
Min = 1
Orientation = trHorizontal
Frequency = 1
Position = 1
SelEnd = 0
SelStart = 0
TabOrder = 1
TickMarks = tmBottomRight
TickStyle = tsAuto
OnChange = TrackBarChange
end
end
object funcQuery: TQuery
DatabaseName = 'llCheck_DB'
SQL.Strings = (
'select distinct'
#9'substr( lower(func) || '#39'('#39' || to_char(object_id) || '#39')'#39', 1, 25' +
'5 ) as func_id,'
#9'func,'
#9'object_id'
'from llthread_functions'
'where func like :theFunc'
'and to_char(object_id) like :theObjId'
' '
' ')
Left = 384
Top = 64
ParamData = <
item
DataType = ftUnknown
Name = 'theFunc'
ParamType = ptUnknown
end
item
DataType = ftUnknown
Name = 'theObjId'
ParamType = ptUnknown
end>
end
object serverQuery: TQuery
DatabaseName = 'llCheck_DB'
SQL.Strings = (
'select distinct server_name'
'from server')
Left = 56
Top = 32
end
object funcSource: TDataSource
DataSet = funcQuery
Left = 440
Top = 65
end
end