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
|
object Form1: TForm1
Left = 459
Height = 433
Top = 346
Width = 566
Caption = 'Form1'
ClientHeight = 433
ClientWidth = 566
OnCreate = FormCreate
Position = poScreenCenter
LCLVersion = '2.1.0.0'
object PageControl1: TPageControl
Left = 0
Height = 433
Top = 0
Width = 566
ActivePage = tsPie
Align = alClient
TabIndex = 0
TabOrder = 0
object tsPie: TTabSheet
Caption = 'Pie'
ClientHeight = 405
ClientWidth = 558
object ChartPie: TChart
Left = 0
Height = 337
Top = 68
Width = 558
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>
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 = clDefault
OnMouseDown = ChartPieMouseDown
object ChartPiePieSeries1: TPieSeries
Marks.Distance = 40
Marks.Format = '%2:s'
Marks.Style = smsLabel
Exploded = True
Source = ListChartSource1
end
end
object Panel1: TPanel
AnchorSideTop.Side = asrCenter
Left = 0
Height = 68
Top = 0
Width = 558
Align = alTop
Alignment = taLeftJustify
AutoSize = True
Caption = ' Click on a slice to explode/unexplode it'
ClientHeight = 68
ClientWidth = 558
TabOrder = 1
object seWords: TSpinEdit
AnchorSideTop.Control = Panel1
AnchorSideRight.Control = Panel1
AnchorSideRight.Side = asrBottom
Left = 491
Height = 23
Top = 9
Width = 58
Anchors = [akTop, akRight]
BorderSpacing.Top = 8
BorderSpacing.Right = 8
MaxValue = 10
OnChange = seWordsChange
TabOrder = 0
Value = 1
end
object lblWords: TLabel
AnchorSideTop.Control = seWords
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = seWords
Left = 420
Height = 15
Top = 13
Width = 63
Anchors = [akTop, akRight]
BorderSpacing.Right = 8
Caption = 'Label words'
ParentColor = False
end
object seLabelAngle: TSpinEdit
AnchorSideTop.Control = seWords
AnchorSideRight.Control = lblWords
Left = 354
Height = 23
Top = 9
Width = 50
Anchors = [akTop, akRight]
BorderSpacing.Right = 16
Increment = 5
MaxValue = 360
MinValue = -360
OnChange = seLabelAngleChange
TabOrder = 1
end
object lblLabelAngle: TLabel
AnchorSideTop.Control = seLabelAngle
AnchorSideTop.Side = asrCenter
Left = 291
Height = 15
Top = 13
Width = 60
Anchors = [akTop, akRight]
Caption = 'Label angle'
ParentColor = False
end
object cbRotate: TCheckBox
AnchorSideTop.Control = cbMarkPositions
AnchorSideTop.Side = asrCenter
AnchorSideRight.Control = seWords
AnchorSideRight.Side = asrBottom
Left = 462
Height = 19
Top = 38
Width = 87
Anchors = [akTop, akRight]
BorderSpacing.Top = 4
BorderSpacing.Bottom = 8
Caption = 'Rotate labels'
OnChange = cbRotateChange
TabOrder = 2
end
object cbMarkPositions: TComboBox
AnchorSideTop.Control = lblLabelAngle
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = seLabelAngle
AnchorSideRight.Side = asrBottom
Left = 291
Height = 23
Top = 36
Width = 113
Anchors = [akTop, akRight]
BorderSpacing.Top = 8
BorderSpacing.Bottom = 8
ItemHeight = 15
ItemIndex = 0
Items.Strings = (
'Around'
'Inside'
'Left / right'
)
OnChange = cbMarkPositionsChange
Style = csDropDownList
TabOrder = 3
Text = 'Around'
end
end
end
object tsPolar: TTabSheet
Caption = 'Polar'
ClientHeight = 405
ClientWidth = 558
object ChartPolar: TChart
Left = 0
Height = 405
Top = 0
Width = 420
AxisList = <
item
Marks.LabelBrush.Style = bsClear
Minors = <>
Title.LabelFont.Orientation = 900
Title.LabelBrush.Style = bsClear
end
item
Alignment = calBottom
Marks.LabelBrush.Style = bsClear
Minors = <>
Title.LabelBrush.Style = bsClear
end>
Foot.Brush.Color = clBtnFace
Foot.Font.Color = clBlue
Title.Brush.Color = clBtnFace
Title.Font.Color = clBlue
Title.Text.Strings = (
'TAChart'
)
Align = alClient
Color = clDefault
object ChartPolarSeries1: TPolarSeries
Brush.Color = 14145495
OriginX = -5
Pointer.HorizSize = 6
Pointer.Style = psDiamond
Pointer.VertSize = 6
ShowPoints = False
Source = RandomChartSource1
end
object ChartPolarSeries2: TPolarSeries
Brush.Color = 12303359
LinePen.Color = clRed
OriginY = 5
Pointer.Brush.Color = clRed
Pointer.Style = psCircle
ShowPoints = False
Source = RandomChartSource1
end
end
object pnlPolar: TPanel
Left = 420
Height = 405
Top = 0
Width = 138
Align = alRight
AutoSize = True
ClientHeight = 405
ClientWidth = 138
TabOrder = 1
object cbCloseCircle: TCheckBox
AnchorSideLeft.Control = pnlPolar
AnchorSideTop.Control = pnlPolar
Left = 9
Height = 19
Top = 9
Width = 56
BorderSpacing.Left = 8
BorderSpacing.Top = 8
BorderSpacing.Bottom = 8
Caption = 'Closed'
OnChange = cbCloseCircleChange
TabOrder = 0
end
object cbShowPoints: TCheckBox
AnchorSideLeft.Control = pnlPolar
AnchorSideTop.Control = cbCloseCircle
AnchorSideTop.Side = asrBottom
Left = 9
Height = 19
Top = 36
Width = 85
BorderSpacing.Left = 8
BorderSpacing.Top = 8
BorderSpacing.Right = 8
Caption = 'Show points'
OnChange = cbShowPointsChange
TabOrder = 1
end
object cbFilled: TCheckBox
AnchorSideLeft.Control = pnlPolar
AnchorSideTop.Control = cbShowPoints
AnchorSideTop.Side = asrBottom
Left = 9
Height = 19
Top = 63
Width = 48
BorderSpacing.Left = 8
BorderSpacing.Top = 8
Caption = 'Filled'
OnChange = cbFilledChange
TabOrder = 2
end
object sbTransparency: TScrollBar
AnchorSideLeft.Control = pnlPolar
AnchorSideTop.Control = lblTransparency
AnchorSideTop.Side = asrBottom
Left = 9
Height = 17
Top = 117
Width = 120
BorderSpacing.Left = 8
BorderSpacing.Top = 4
BorderSpacing.Right = 8
Max = 255
PageSize = 0
TabOrder = 3
OnChange = sbTransparencyChange
end
object lblTransparency: TLabel
AnchorSideLeft.Control = pnlPolar
AnchorSideTop.Control = cbFilled
AnchorSideTop.Side = asrBottom
Left = 9
Height = 15
Top = 98
Width = 87
BorderSpacing.Left = 8
BorderSpacing.Top = 16
Caption = 'Transparency (0)'
FocusControl = sbTransparency
ParentColor = False
end
end
end
end
object ListChartSource1: TListChartSource
DataPoints.Strings = (
'0|1|?|'
'0|2|?|'
'0|3|?|'
'0|1|?|'
'0|2|?|'
'0|3|?|'
'0|1|?|'
'0|2|?|'
'0|3|?|'
'0|5|?|'
)
left = 488
top = 296
end
object ChartToolset1: TChartToolset
left = 488
top = 240
end
object RandomChartSource1: TRandomChartSource
PointsNumber = 15
RandSeed = 1648434073
XMax = 6
XMin = 0
YCount = 2
YMax = 10
YMin = 2
left = 488
top = 356
end
end
|