object MainForm: TMainForm Left = 280 Height = 452 Top = 130 Width = 656 Caption = 'HTML demo' ClientHeight = 452 ClientWidth = 656 Constraints.MinHeight = 400 OnActivate = FormActivate OnCreate = FormCreate LCLVersion = '2.3.0.0' object BottomPanel: TPanel Left = 8 Height = 105 Top = 339 Width = 640 Align = alBottom AutoSize = True BorderSpacing.Left = 8 BorderSpacing.Right = 8 BorderSpacing.Bottom = 8 BevelOuter = bvNone ClientHeight = 105 ClientWidth = 640 TabOrder = 0 object CgHTML: TCheckGroup Left = 0 Height = 78 Top = 8 Width = 330 AutoFill = True AutoSize = True BorderSpacing.InnerBorder = 4 Caption = 'Show HTML codes' ChildSizing.LeftRightSpacing = 6 ChildSizing.TopBottomSpacing = 6 ChildSizing.EnlargeHorizontal = crsHomogenousChildResize ChildSizing.EnlargeVertical = crsHomogenousChildResize ChildSizing.ShrinkHorizontal = crsScaleChilds ChildSizing.ShrinkVertical = crsScaleChilds ChildSizing.Layout = cclLeftToRightThenTopToBottom ChildSizing.ControlsPerLine = 4 ClientHeight = 58 ClientWidth = 326 Columns = 4 Items.Strings = ( 'title' 'footer' 'legend' 'series labels' 'x axis labels' 'x axis title' 'y axis title' 'distance tool' ) OnItemClick = CgHTMLItemClick TabOrder = 0 Data = { 080000000202020202020202 } end object BtnCopyToClipboard: TButton AnchorSideTop.Control = BottomPanel AnchorSideRight.Control = BottomPanel AnchorSideRight.Side = asrBottom Left = 519 Height = 25 Top = 8 Width = 121 Anchors = [akTop, akRight] AutoSize = True BorderSpacing.Top = 8 Caption = 'Copy to clipboard' OnClick = BtnCopyToClipboardClick TabOrder = 1 end object BtnSaveWMF: TButton AnchorSideLeft.Control = BtnCopyToClipboard AnchorSideTop.Control = BtnCopyToClipboard AnchorSideTop.Side = asrBottom AnchorSideRight.Control = BtnCopyToClipboard AnchorSideRight.Side = asrBottom Left = 519 Height = 25 Top = 37 Width = 121 Anchors = [akTop, akLeft, akRight] AutoSize = True BorderSpacing.Top = 4 Caption = 'Save to WMF' OnClick = BtnSaveWMFClick TabOrder = 2 end object BtnSaveSVG: TButton AnchorSideLeft.Control = BtnCopyToClipboard AnchorSideTop.Control = BtnSaveWMF AnchorSideTop.Side = asrBottom AnchorSideRight.Control = BtnCopyToClipboard AnchorSideRight.Side = asrBottom Left = 519 Height = 25 Top = 66 Width = 121 Anchors = [akTop, akLeft, akRight] AutoSize = True BorderSpacing.Top = 4 Caption = 'Save to SVG' OnClick = BtnSaveSVGClick TabOrder = 3 end object CbRTL: TCheckBox AnchorSideLeft.Control = CbRotateXLabels AnchorSideTop.Control = CbRotateXLabels AnchorSideTop.Side = asrBottom Left = 346 Height = 19 Top = 38 Width = 84 BorderSpacing.Top = 8 Caption = 'Right-to-left' OnChange = CbRTLChange TabOrder = 4 Visible = False end object CbRotateXLabels: TCheckBox AnchorSideLeft.Control = CgHTML AnchorSideLeft.Side = asrBottom AnchorSideTop.Control = BtnCopyToClipboard AnchorSideTop.Side = asrCenter Left = 346 Height = 19 Top = 11 Width = 130 BorderSpacing.Left = 16 Caption = 'Rotate x labels by 45°' OnChange = CbRotateXLabelsChange TabOrder = 5 end object Label1: TLabel AnchorSideLeft.Control = BottomPanel AnchorSideTop.Control = CgHTML AnchorSideTop.Side = asrBottom Left = 0 Height = 15 Top = 90 Width = 305 BorderSpacing.Top = 4 Caption = 'Measure distance: drag with left mouse button held down' end end object Chart: TChart Left = 8 Height = 323 Top = 8 Width = 640 AxisList = < item Grid.Color = clSilver Grid.Style = psSolid Marks.LabelBrush.Style = bsClear Minors = <> Title.LabelFont.Height = -16 Title.LabelFont.Orientation = 900 Title.Visible = True Title.Caption = 'Area A, cm2' Title.LabelBrush.Style = bsClear Title.TextFormat = tfHTML end item Grid.Color = clSilver Grid.Style = psSolid Grid.Visible = False Alignment = calBottom Marks.LabelBrush.Style = bsClear Marks.TextFormat = tfHTML Minors = <> Title.LabelFont.Height = -16 Title.Visible = True Title.Caption = 'Angle α, °' Title.LabelBrush.Style = bsClear Title.TextFormat = tfHTML OnMarkToText = ChartAxisList1MarkToText end> Foot.Alignment = taLeftJustify Foot.Brush.Color = clBtnFace Foot.Brush.Style = bsClear Foot.Font.Color = clGray Foot.Text.Strings = ( 'Reference:' 'W. Shakespeare, "J. Irreprod. Res.", 38, 512 (2017)' ) Foot.TextFormat = tfHTML Foot.Visible = True Legend.Alignment = laTopCenter Legend.ColumnCount = 2 Legend.TextFormat = tfHTML Legend.Visible = True Title.Brush.Color = clBtnFace Title.Brush.Style = bsClear Title.Font.Color = clNavy Title.Font.Height = -19 Title.Font.Style = [fsBold] Title.Text.Strings = ( 'Plot of area (cm2) vs. angle α' ) Title.TextFormat = tfHTML Title.Visible = True Toolset = ChartTools Align = alClient BorderSpacing.Around = 8 object DataSeries: TLineSeries Title = 'Measured data points' LinePen.Color = clRed LineType = ltNone Marks.Alignment = taCenter Marks.Format = '%2:s' Marks.Frame.Color = clGray Marks.LinkPen.Color = clGray Marks.Style = smsLabel Marks.TextFormat = tfHTML Pointer.Brush.Color = clRed Pointer.Style = psCircle Pointer.Visible = True ShowPoints = True end object FitSeries: TFitSeries Title = 'Fit curve (blue)' Marks.TextFormat = tfHTML Pen.Color = clBlue Source = ListChartSource OnFitComplete = FitSeriesFitComplete end end object ListChartSource: TListChartSource Left = 224 Top = 88 end object ListChartSource_Fit: TListChartSource Left = 224 Top = 153 end object ChartTools: TChartToolset Left = 368 Top = 88 object DistanceTool: TDataPointDistanceTool Shift = [ssLeft] DistanceMode = cdmOnlyX DrawingMode = tdmNormal Marks.Alignment = taCenter Marks.Distance = 15 Marks.Format = '%0:.9g' Marks.Frame.Color = clTeal Marks.LabelBrush.Color = clMoneyGreen Marks.LinkPen.Color = clSilver Marks.LinkPen.Visible = False Marks.TextFormat = tfHTML MeasureMode = cdmOnlyX Options = [dpdoLabelAbove] OnGetDistanceText = DistanceToolGetDistanceText end end end