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
|
object Form1: TForm1
Left = 529
Height = 511
Top = 174
Width = 590
Caption = 'Form1'
ClientHeight = 511
ClientWidth = 590
OnCreate = FormCreate
OnDestroy = FormDestroy
Position = poScreenCenter
LCLVersion = '2.1.0.0'
object PageControl1: TPageControl
Left = 0
Height = 511
Top = 0
Width = 590
ActivePage = TabSheet1
Align = alClient
TabIndex = 0
TabOrder = 0
object TabSheet1: TTabSheet
Caption = 'Basic'
ClientHeight = 483
ClientWidth = 582
object pnControls: TPanel
Left = 0
Height = 135
Top = 348
Width = 582
Align = alBottom
AutoSize = True
BevelOuter = bvNone
ClientHeight = 135
ClientWidth = 582
TabOrder = 0
object lblMarginY: TLabel
AnchorSideLeft.Control = lblMarginX
AnchorSideTop.Control = seMarginY
AnchorSideTop.Side = asrCenter
Left = 8
Height = 15
Top = 35
Width = 48
Caption = 'Y margin'
ParentColor = False
end
object seMarginY: TSpinEdit
AnchorSideLeft.Control = seMarginX
AnchorSideTop.Control = seMarginX
AnchorSideTop.Side = asrBottom
Left = 64
Height = 23
Top = 31
Width = 54
BorderSpacing.Top = 4
MaxValue = 20
OnChange = seMarginYChange
TabOrder = 0
Value = 4
end
object seSymbolWidth: TSpinEdit
AnchorSideLeft.Control = lblSymbolWidth
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = seMarginX
Left = 215
Height = 23
Top = 4
Width = 54
BorderSpacing.Left = 8
MaxValue = 50
OnChange = seSymbolWidthChange
TabOrder = 1
Value = 20
end
object lblSymbolWidth: TLabel
AnchorSideLeft.Control = seMarginX
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = seSymbolWidth
AnchorSideTop.Side = asrCenter
Left = 134
Height = 15
Top = 8
Width = 73
BorderSpacing.Left = 16
Caption = 'Symbol width'
ParentColor = False
end
object rgAlignment: TRadioGroup
AnchorSideLeft.Control = seSymbolWidth
AnchorSideLeft.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 285
Height = 135
Top = 0
Width = 289
Align = alRight
Anchors = [akTop, akLeft, akRight, akBottom]
AutoFill = True
BorderSpacing.Left = 16
BorderSpacing.Right = 8
Caption = ' Alignment '
ChildSizing.LeftRightSpacing = 6
ChildSizing.TopBottomSpacing = 6
ChildSizing.EnlargeHorizontal = crsHomogenousChildResize
ChildSizing.EnlargeVertical = crsHomogenousChildResize
ChildSizing.ShrinkHorizontal = crsScaleChilds
ChildSizing.ShrinkVertical = crsScaleChilds
ChildSizing.Layout = cclTopToBottomThenLeftToRight
ChildSizing.ControlsPerLine = 3
ClientHeight = 115
ClientWidth = 285
Columns = 3
ItemIndex = 6
Items.Strings = (
'TopLeft'
'CenterLeft'
'BottomLeft'
'TopCenter'
''
'BottomCenter'
'TopRight'
'CenterRight'
'BottomRight'
)
OnClick = rgAlignmentClick
TabOrder = 2
end
object cbUseSidebar: TCheckBox
AnchorSideLeft.Control = lblMarginX
AnchorSideTop.Control = seMarginY
AnchorSideTop.Side = asrBottom
Left = 8
Height = 19
Top = 62
Width = 59
BorderSpacing.Top = 8
Caption = 'Sidebar'
Checked = True
OnChange = cbUseSidebarChange
State = cbChecked
TabOrder = 3
end
object lblSpacing: TLabel
AnchorSideTop.Control = seSpacing
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = lblSymbolWidth
AnchorSideRight.Side = asrBottom
Left = 165
Height = 15
Top = 35
Width = 42
Anchors = [akTop, akRight]
Caption = 'Spacing'
ParentColor = False
end
object seSpacing: TSpinEdit
AnchorSideLeft.Control = seSymbolWidth
AnchorSideTop.Control = seMarginY
Left = 215
Height = 23
Top = 31
Width = 54
MaxValue = 20
OnChange = seSpacingChange
TabOrder = 4
Value = 4
end
object lblMarginX: TLabel
AnchorSideLeft.Control = pnControls
AnchorSideTop.Control = seMarginX
AnchorSideTop.Side = asrCenter
Left = 8
Height = 15
Top = 8
Width = 48
BorderSpacing.Left = 8
Caption = 'X margin'
ParentColor = False
end
object seMarginX: TSpinEdit
AnchorSideLeft.Control = lblMarginX
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = pnControls
Left = 64
Height = 23
Top = 4
Width = 54
BorderSpacing.Left = 8
BorderSpacing.Top = 4
MaxValue = 20
OnChange = seMarginXChange
TabOrder = 5
Value = 4
end
object cbSeries: TComboBox
AnchorSideRight.Control = seSymbolWidth
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = cbGrid
AnchorSideBottom.Side = asrBottom
Left = 105
Height = 22
Top = 105
Width = 164
Anchors = [akRight, akBottom]
ItemHeight = 16
OnDrawItem = cbSeriesDrawItem
Style = csOwnerDrawFixed
TabOrder = 6
end
object lblColumnCount: TLabel
AnchorSideTop.Control = seColumnCount
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = lblSymbolWidth
AnchorSideRight.Side = asrBottom
Left = 159
Height = 15
Top = 62
Width = 48
Anchors = [akTop, akRight]
Caption = 'Columns'
ParentColor = False
end
object seColumnCount: TSpinEdit
AnchorSideLeft.Control = seSymbolWidth
AnchorSideTop.Control = seSpacing
AnchorSideTop.Side = asrBottom
Left = 215
Height = 23
Top = 58
Width = 54
BorderSpacing.Top = 4
MinValue = 1
OnChange = seColumnCountChange
TabOrder = 7
Value = 1
end
object cbByRows: TCheckBox
AnchorSideLeft.Control = cbUseSidebar
AnchorSideTop.Control = cbUseSidebar
AnchorSideTop.Side = asrBottom
Left = 8
Height = 19
Top = 85
Width = 61
BorderSpacing.Top = 4
Caption = 'By rows'
OnChange = cbByRowsChange
TabOrder = 8
end
object cbGrid: TCheckBox
AnchorSideLeft.Control = cbUseSidebar
AnchorSideTop.Control = cbByRows
AnchorSideTop.Side = asrBottom
Left = 8
Height = 19
Top = 108
Width = 42
BorderSpacing.Top = 4
BorderSpacing.Bottom = 8
Caption = 'Grid'
OnChange = cbGridChange
TabOrder = 9
end
end
object Chart1: TChart
Left = 8
Height = 332
Top = 8
Width = 566
AxisList = <
item
Visible = False
Marks.LabelBrush.Style = bsClear
Minors = <>
Title.LabelFont.Orientation = 900
Title.LabelBrush.Style = bsClear
end
item
Visible = False
Alignment = calBottom
Marks.LabelBrush.Style = bsClear
Minors = <>
Title.LabelBrush.Style = bsClear
end>
BackColor = clSkyBlue
Foot.Brush.Color = clBtnFace
Foot.Font.Color = clBlue
Legend.BackgroundBrush.Color = clMoneyGreen
Legend.GridHorizontal.Style = psDot
Legend.GridVertical.Style = psDot
Legend.GroupFont.Style = [fsBold]
Legend.GroupTitles.Strings = (
'Pie'
)
Legend.Visible = True
Title.Brush.Color = clBtnFace
Title.Font.Color = clBlue
Title.Text.Strings = (
'TAChart'
)
Align = alClient
BorderSpacing.Around = 8
Color = clOlive
object Chart1LineSeries1: TLineSeries
Title = 'Line'
LinePen.Color = clRed
Pointer.Brush.Color = clRed
Pointer.Visible = True
ShowPoints = True
end
object Chart1AreaSeries1: TAreaSeries
Title = 'Area'
AreaBrush.Color = clGreen
AreaBrush.Style = bsCross
Source = RandomChartSource1
end
object Chart1PieSeries1: TPieSeries
Legend.Format = '%2:s %1:.2f%%'
Legend.GroupIndex = 0
Legend.Multiplicity = lmPoint
Marks.Format = '%2:s'
Marks.Style = smsLabel
Title = 'Pie'
Exploded = True
Source = ListChartSource2
end
object Chart1FuncSeries1: TFuncSeries
Legend.Order = 1
Legend.UserItemsCount = 2
Legend.OnDraw = Chart1FuncSeries1DrawLegend
Extent.UseXMax = True
Extent.UseXMin = True
Extent.XMax = 5
Title = 'Function'
Pen.Color = clPurple
Pen.Width = 2
OnCalculate = Chart1FuncSeries1Calculate
end
end
end
object TabSheet2: TTabSheet
Caption = 'OwnerDraw'
ClientHeight = 483
ClientWidth = 582
object Chart2: TChart
Left = 8
Height = 467
Top = 8
Width = 566
AxisList = <
item
Grid.Color = clSilver
Marks.LabelBrush.Style = bsClear
Minors = <>
Title.LabelFont.Height = -16
Title.LabelFont.Orientation = 900
Title.LabelFont.Style = [fsBold]
Title.Visible = True
Title.Caption = 'y axis'
Title.LabelBrush.Style = bsClear
end
item
Grid.Visible = False
Alignment = calBottom
Marks.LabelBrush.Style = bsClear
Minors = <>
Title.LabelFont.Height = -16
Title.LabelFont.Style = [fsBold]
Title.Visible = True
Title.Caption = 'x axis'
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'
)
OnDrawLegend = Chart2DrawLegend
Align = alClient
BorderSpacing.Around = 8
object GradientLineSeries: TLineSeries
Title = '1.0'
LineType = ltNone
Pointer.Style = psCircle
Pointer.Visible = True
ShowPoints = True
end
end
end
end
object RandomChartSource1: TRandomChartSource
PointsNumber = 7
RandSeed = 104675296
XMax = 10
XMin = 1
YMax = 10
YMin = 1
left = 380
top = 112
end
object ListChartSource1: TListChartSource
DataPoints.Strings = (
'0|0|?|'
'1|2|$00FF00|'
'2|5|?|'
'3|1|?|'
'4|6|?|'
)
left = 380
top = 168
end
object ListChartSource2: TListChartSource
DataPoints.Strings = (
'0|5|?|abcc'
'0|6|?|def'
'0.20000000000000001|4|?|пример'
'0|7|?|ещё'
'0|2|?|два слова'
)
left = 380
top = 228
end
end
|