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
|
object MainForm: TMainForm
Left = 303
Height = 420
Top = 127
Width = 595
Caption = 'Userdrawn series demo'
ClientHeight = 420
ClientWidth = 595
OnCreate = FormCreate
OnDestroy = FormDestroy
LCLVersion = '2.1.0.0'
object Chart: TChart
Left = 0
Height = 386
Top = 0
Width = 595
AxisList = <
item
Grid.Visible = False
Marks.LabelBrush.Style = bsClear
Minors = <>
Title.LabelFont.Orientation = 900
Title.LabelBrush.Style = bsClear
end
item
Grid.Visible = False
Alignment = calBottom
Marks.LabelBrush.Style = bsClear
Minors = <>
Title.LabelBrush.Style = bsClear
end>
BackColor = clWhite
Foot.Brush.Color = clBtnFace
Foot.Font.Color = clBlue
Foot.Text.Strings = (
'Drag the horizontal line up and down.'
)
Foot.Visible = True
Margins.Left = 8
Margins.Top = 8
Margins.Right = 8
Margins.Bottom = 8
Title.Brush.Color = clBtnFace
Title.Font.Color = clBlue
Title.Text.Strings = (
'TAChart'
)
Toolset = ChartToolset
Align = alClient
object ReferenceLine: TConstantLine
Pen.Color = clBlue
Pen.Style = psDash
Position = 4
end
object Series: TUserDrawnSeries
OnDraw = SeriesDraw
OnGetBounds = SeriesGetBounds
end
end
object Panel: TPanel
Left = 0
Height = 34
Top = 386
Width = 595
Align = alBottom
BevelOuter = bvNone
ClientHeight = 34
ClientWidth = 595
TabOrder = 1
object cbShowDataPoints: TCheckBox
Left = 11
Height = 19
Top = 8
Width = 111
Caption = 'Show data points'
OnChange = cbShowDataPointsChange
TabOrder = 0
end
end
object ChartToolset: TChartToolset
left = 173
top = 119
object DataPointDragTool: TDataPointDragTool
Shift = [ssLeft]
AffectedSeries = '0'
GrabRadius = 16
ActiveCursor = crSizeNS
end
end
end
|