diff --git a/components/tachart/demo/basic/demo.lpi b/components/tachart/demo/basic/demo.lpi
index 354ed5f6c0..5546456989 100644
--- a/components/tachart/demo/basic/demo.lpi
+++ b/components/tachart/demo/basic/demo.lpi
@@ -14,9 +14,9 @@
-
+
diff --git a/components/tachart/demo/basic/unit1.lfm b/components/tachart/demo/basic/unit1.lfm
index afad4170d2..22cafd73b7 100644
--- a/components/tachart/demo/basic/unit1.lfm
+++ b/components/tachart/demo/basic/unit1.lfm
@@ -19,16 +19,12 @@ object Form1: TForm1
Grid.Color = clGray
Title.Font.Height = -11
Title.Font.Name = 'MS Sans Serif'
- Transformation.Offset = 0
- Transformation.Scale = 1
end
item
Alignment = calBottom
Grid.Color = clGray
Title.Font.Height = -11
Title.Font.Name = 'MS Sans Serif'
- Transformation.Offset = 0
- Transformation.Scale = 1
end>
Foot.Brush.Color = clBtnFace
Foot.Font.Color = clRed
@@ -50,13 +46,13 @@ object Form1: TForm1
Title.Visible = True
Align = alClient
ParentColor = False
- object Chart1LineHor: TLine
+ object Chart1LineHor: TConstantLine
Pen.Style = psDash
Position = 0
SeriesColor = clBlack
ShowInLegend = False
end
- object Chart1LineVert: TLine
+ object Chart1LineVert: TConstantLine
LineStyle = lsVertical
Pen.Style = psDash
Position = 0
diff --git a/components/tachart/demo/basic/unit1.pas b/components/tachart/demo/basic/unit1.pas
index b89f2d7ee8..8239643cab 100644
--- a/components/tachart/demo/basic/unit1.pas
+++ b/components/tachart/demo/basic/unit1.pas
@@ -31,8 +31,8 @@ type
cbInverted: TCheckBox;
cbLegend: TCheckBox;
cbShowGridCheckBox: TCheckBox;
- Chart1LineHor: TLine;
- Chart1LineVert: TLine;
+ Chart1LineHor: TConstantLine;
+ Chart1LineVert: TConstantLine;
cbMarkStyle: TComboBox;
lblAddCount: TLabel;
lblAdd: TLabel;
diff --git a/components/tachart/demo/extent/extentdemo.lpi b/components/tachart/demo/extent/extentdemo.lpi
index b9709297f7..39c4411aa6 100644
--- a/components/tachart/demo/extent/extentdemo.lpi
+++ b/components/tachart/demo/extent/extentdemo.lpi
@@ -14,7 +14,7 @@
-
+
diff --git a/components/tachart/demo/extent/main.lfm b/components/tachart/demo/extent/main.lfm
index eda856d79a..2a1ec18bce 100644
--- a/components/tachart/demo/extent/main.lfm
+++ b/components/tachart/demo/extent/main.lfm
@@ -18,14 +18,10 @@ object Form1: TForm1
Alignment = calLeft
Grid.Visible = False
Title.Font.Orientation = 900
- Transformation.Offset = 0
- Transformation.Scale = 1
end
item
Alignment = calBottom
Grid.Visible = False
- Transformation.Offset = 0
- Transformation.Scale = 1
end>
Extent.XMin = -1.7
Extent.YMin = -1.7
@@ -48,7 +44,7 @@ object Form1: TForm1
ShowPoints = True
Source = RandomChartSource1
end
- object clRight: TLine
+ object clRight: TConstantLine
LineStyle = lsVertical
Pen.Color = clGreen
Pen.Style = psDot
@@ -56,7 +52,7 @@ object Form1: TForm1
SeriesColor = clGreen
UseBounds = False
end
- object clLeft: TLine
+ object clLeft: TConstantLine
LineStyle = lsVertical
Pen.Color = clGreen
Pen.Style = psDot
@@ -64,14 +60,14 @@ object Form1: TForm1
SeriesColor = clGreen
UseBounds = False
end
- object clTop: TLine
+ object clTop: TConstantLine
Pen.Color = clGreen
Pen.Style = psDot
Position = 1.7
SeriesColor = clGreen
UseBounds = False
end
- object clBottom: TLine
+ object clBottom: TConstantLine
Pen.Color = clGreen
Pen.Style = psDot
Position = -1.7
diff --git a/components/tachart/demo/extent/main.pas b/components/tachart/demo/extent/main.pas
index da10cd588e..44ac6da8c8 100644
--- a/components/tachart/demo/extent/main.pas
+++ b/components/tachart/demo/extent/main.pas
@@ -14,10 +14,10 @@ type
TForm1 = class(TForm)
cgUseBounds: TCheckGroup;
Chart1: TChart;
- clRight: TLine;
- clLeft: TLine;
- clTop: TLine;
- clBottom: TLine;
+ clRight: TConstantLine;
+ clLeft: TConstantLine;
+ clTop: TConstantLine;
+ clBottom: TConstantLine;
Chart1LineSeries: TLineSeries;
fseBounds: TFloatSpinEdit;
lblBoundValue: TLabel;
diff --git a/components/tachart/demo/func/funcdemo.lpi b/components/tachart/demo/func/funcdemo.lpi
index a79b045aac..80b6935a67 100644
--- a/components/tachart/demo/func/funcdemo.lpi
+++ b/components/tachart/demo/func/funcdemo.lpi
@@ -14,7 +14,7 @@
-
+
diff --git a/components/tachart/demo/func/main.lfm b/components/tachart/demo/func/main.lfm
index 9025afc1cd..c5963a2268 100644
--- a/components/tachart/demo/func/main.lfm
+++ b/components/tachart/demo/func/main.lfm
@@ -51,12 +51,12 @@ object Form1: TForm1
Step = 4
Title = '1 / Sin(x)'
end
- object Chart1XAxis: TLine
+ object Chart1XAxis: TConstantLine
Position = 0
SeriesColor = clBlack
ShowInLegend = False
end
- object Chart1YAxis: TLine
+ object Chart1YAxis: TConstantLine
LineStyle = lsVertical
Position = 0
SeriesColor = clBlack
diff --git a/components/tachart/demo/func/main.pas b/components/tachart/demo/func/main.pas
index 95194aebd5..92e88e6ae1 100644
--- a/components/tachart/demo/func/main.pas
+++ b/components/tachart/demo/func/main.pas
@@ -16,8 +16,8 @@ type
Chart1BarSeries1: TBarSeries;
Chart1FuncSeries1: TFuncSeries;
Chart1UserDrawnSeries1: TUserDrawnSeries;
- Chart1YAxis: TLine;
- Chart1XAxis: TLine;
+ Chart1YAxis: TConstantLine;
+ Chart1XAxis: TConstantLine;
cbDomain: TCheckBox;
UserDefinedChartSource1: TUserDefinedChartSource;
procedure cbDomainChange(Sender: TObject);