mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 00:29:28 +02:00
TAChart: Fix demo of svg drawer on non-Windows systems.
git-svn-id: trunk@61243 -
This commit is contained in:
parent
482649c453
commit
a0c1900d66
@ -7,7 +7,7 @@ object Form1: TForm1
|
|||||||
ClientHeight = 299
|
ClientHeight = 299
|
||||||
ClientWidth = 538
|
ClientWidth = 538
|
||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
LCLVersion = '1.9.0.0'
|
LCLVersion = '2.1.0.0'
|
||||||
object Chart1: TChart
|
object Chart1: TChart
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 275
|
Height = 275
|
||||||
@ -15,30 +15,32 @@ object Form1: TForm1
|
|||||||
Width = 538
|
Width = 538
|
||||||
AxisList = <
|
AxisList = <
|
||||||
item
|
item
|
||||||
|
Marks.LabelBrush.Style = bsClear
|
||||||
Minors = <>
|
Minors = <>
|
||||||
Title.LabelFont.CharSet = ANSI_CHARSET
|
Title.LabelFont.CharSet = ANSI_CHARSET
|
||||||
Title.LabelFont.Color = clRed
|
Title.LabelFont.Color = clRed
|
||||||
Title.LabelFont.Height = -19
|
Title.LabelFont.Height = -19
|
||||||
Title.LabelFont.Name = 'Times New Roman'
|
|
||||||
Title.LabelFont.Orientation = 900
|
Title.LabelFont.Orientation = 900
|
||||||
Title.LabelFont.Pitch = fpVariable
|
Title.LabelFont.Pitch = fpVariable
|
||||||
Title.LabelFont.Quality = fqDraft
|
Title.LabelFont.Quality = fqDraft
|
||||||
Title.LabelFont.Style = [fsItalic]
|
Title.LabelFont.Style = [fsItalic]
|
||||||
Title.Visible = True
|
Title.Visible = True
|
||||||
Title.Caption = 'y axis'
|
Title.Caption = 'y axis'
|
||||||
|
Title.LabelBrush.Style = bsClear
|
||||||
end
|
end
|
||||||
item
|
item
|
||||||
Alignment = calBottom
|
Alignment = calBottom
|
||||||
|
Marks.LabelBrush.Style = bsClear
|
||||||
Minors = <>
|
Minors = <>
|
||||||
Title.LabelFont.CharSet = ANSI_CHARSET
|
Title.LabelFont.CharSet = ANSI_CHARSET
|
||||||
Title.LabelFont.Color = clBlue
|
Title.LabelFont.Color = clBlue
|
||||||
Title.LabelFont.Height = -19
|
Title.LabelFont.Height = -19
|
||||||
Title.LabelFont.Name = 'Times New Roman'
|
|
||||||
Title.LabelFont.Pitch = fpVariable
|
Title.LabelFont.Pitch = fpVariable
|
||||||
Title.LabelFont.Quality = fqDraft
|
Title.LabelFont.Quality = fqDraft
|
||||||
Title.LabelFont.Style = [fsItalic]
|
Title.LabelFont.Style = [fsItalic]
|
||||||
Title.Visible = True
|
Title.Visible = True
|
||||||
Title.Caption = 'x axis'
|
Title.Caption = 'x axis'
|
||||||
|
Title.LabelBrush.Style = bsClear
|
||||||
end>
|
end>
|
||||||
Foot.Brush.Color = clBtnFace
|
Foot.Brush.Color = clBtnFace
|
||||||
Foot.Font.Color = clBlue
|
Foot.Font.Color = clBlue
|
||||||
@ -49,15 +51,15 @@ object Form1: TForm1
|
|||||||
)
|
)
|
||||||
Align = alClient
|
Align = alClient
|
||||||
object Chart1BarSeries1: TBarSeries
|
object Chart1BarSeries1: TBarSeries
|
||||||
|
BarBrush.Color = clOlive
|
||||||
Marks.Format = '%0:.9g'
|
Marks.Format = '%0:.9g'
|
||||||
Marks.Style = smsValue
|
Marks.Style = smsValue
|
||||||
BarBrush.Color = clOlive
|
|
||||||
end
|
end
|
||||||
object Chart1FuncSeries1: TFuncSeries
|
object Chart1FuncSeries1: TFuncSeries
|
||||||
ZPosition = 1
|
ZPosition = 1
|
||||||
OnCalculate = Chart1FuncSeries1Calculate
|
|
||||||
Pen.Color = clRed
|
Pen.Color = clRed
|
||||||
Pen.Width = 2
|
Pen.Width = 2
|
||||||
|
OnCalculate = Chart1FuncSeries1Calculate
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object ToolBar1: TToolBar
|
object ToolBar1: TToolBar
|
||||||
@ -68,7 +70,6 @@ object Form1: TForm1
|
|||||||
ButtonHeight = 22
|
ButtonHeight = 22
|
||||||
ButtonWidth = 100
|
ButtonWidth = 100
|
||||||
Caption = 'ToolBar1'
|
Caption = 'ToolBar1'
|
||||||
Flat = False
|
|
||||||
ShowCaptions = True
|
ShowCaptions = True
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
object tbSaveAsBMP: TToolButton
|
object tbSaveAsBMP: TToolButton
|
||||||
|
@ -1,17 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<CONFIG>
|
<CONFIG>
|
||||||
<ProjectOptions>
|
<ProjectOptions>
|
||||||
<Version Value="11"/>
|
<Version Value="12"/>
|
||||||
<PathDelim Value="\"/>
|
<PathDelim Value="\"/>
|
||||||
<General>
|
<General>
|
||||||
<Flags>
|
<Flags>
|
||||||
<SaveClosedFiles Value="False"/>
|
<SaveClosedFiles Value="False"/>
|
||||||
<LRSInOutputDirectory Value="False"/>
|
<LRSInOutputDirectory Value="False"/>
|
||||||
|
<CompatibilityMode Value="True"/>
|
||||||
</Flags>
|
</Flags>
|
||||||
<SessionStorage Value="InProjectDir"/>
|
<SessionStorage Value="InProjectDir"/>
|
||||||
<MainUnit Value="0"/>
|
|
||||||
<Title Value="Saving chart as image demo"/>
|
<Title Value="Saving chart as image demo"/>
|
||||||
|
<Scaled Value="True"/>
|
||||||
<ResourceType Value="res"/>
|
<ResourceType Value="res"/>
|
||||||
|
<UseXPManifest Value="True"/>
|
||||||
|
<XPManifest>
|
||||||
|
<DpiAware Value="True"/>
|
||||||
|
</XPManifest>
|
||||||
</General>
|
</General>
|
||||||
<BuildModes Count="1">
|
<BuildModes Count="1">
|
||||||
<Item1 Name="default" Default="True"/>
|
<Item1 Name="default" Default="True"/>
|
||||||
@ -21,13 +26,13 @@
|
|||||||
</PublishOptions>
|
</PublishOptions>
|
||||||
<RunParams>
|
<RunParams>
|
||||||
<local>
|
<local>
|
||||||
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
||||||
</local>
|
</local>
|
||||||
<FormatVersion Value="2"/>
|
<FormatVersion Value="2"/>
|
||||||
<Modes Count="1">
|
<Modes Count="1">
|
||||||
<Mode0 Name="default">
|
<Mode0 Name="default">
|
||||||
<local>
|
<local>
|
||||||
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
|
||||||
</local>
|
</local>
|
||||||
</Mode0>
|
</Mode0>
|
||||||
</Modes>
|
</Modes>
|
||||||
|
@ -10,8 +10,11 @@ uses
|
|||||||
Forms, main, TAChartLazarusPkg
|
Forms, main, TAChartLazarusPkg
|
||||||
{ you can add units after this };
|
{ you can add units after this };
|
||||||
|
|
||||||
|
{$R *.res}
|
||||||
|
|
||||||
begin
|
begin
|
||||||
Application.Title := 'Saving chart as image demo';
|
Application.Scaled:=True;
|
||||||
|
Application.Title:='Saving chart as image demo';
|
||||||
Application.Initialize;
|
Application.Initialize;
|
||||||
Application.CreateForm(TForm1, Form1);
|
Application.CreateForm(TForm1, Form1);
|
||||||
Application.Run;
|
Application.Run;
|
||||||
|
Loading…
Reference in New Issue
Block a user