mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 16:12:57 +02:00
TAChart: Minor updates to the legend demo
git-svn-id: trunk@28524 -
This commit is contained in:
parent
ac5320bd27
commit
d2270984f3
@ -15,6 +15,9 @@
|
|||||||
<VersionInfo>
|
<VersionInfo>
|
||||||
<StringTable ProductVersion=""/>
|
<StringTable ProductVersion=""/>
|
||||||
</VersionInfo>
|
</VersionInfo>
|
||||||
|
<BuildModes Count="1">
|
||||||
|
<Item1 Name="default" Default="True"/>
|
||||||
|
</BuildModes>
|
||||||
<PublishOptions>
|
<PublishOptions>
|
||||||
<Version Value="2"/>
|
<Version Value="2"/>
|
||||||
<IgnoreBinaries Value="False"/>
|
<IgnoreBinaries Value="False"/>
|
||||||
|
@ -41,7 +41,6 @@ object Form1: TForm1
|
|||||||
LinePen.Color = clRed
|
LinePen.Color = clRed
|
||||||
Pointer.Brush.Color = clRed
|
Pointer.Brush.Color = clRed
|
||||||
ShowPoints = True
|
ShowPoints = True
|
||||||
Source = ListChartSource1
|
|
||||||
end
|
end
|
||||||
object Chart1AreaSeries1: TAreaSeries
|
object Chart1AreaSeries1: TAreaSeries
|
||||||
Title = 'Area'
|
Title = 'Area'
|
||||||
@ -51,8 +50,8 @@ object Form1: TForm1
|
|||||||
end
|
end
|
||||||
object Chart1PieSeries1: TPieSeries
|
object Chart1PieSeries1: TPieSeries
|
||||||
Legend.Multiplicity = lmPoint
|
Legend.Multiplicity = lmPoint
|
||||||
Marks.Format = '%1:.2f%%'
|
Marks.Format = '%2:s %1:.2f%%'
|
||||||
Marks.Style = smsPercent
|
Marks.Style = smsLabelPercent
|
||||||
Exploded = True
|
Exploded = True
|
||||||
Source = ListChartSource2
|
Source = ListChartSource2
|
||||||
end
|
end
|
||||||
@ -60,10 +59,10 @@ object Form1: TForm1
|
|||||||
Extent.XMax = 5
|
Extent.XMax = 5
|
||||||
Extent.UseXMin = True
|
Extent.UseXMin = True
|
||||||
Extent.UseXMax = True
|
Extent.UseXMax = True
|
||||||
|
Title = 'Function'
|
||||||
OnCalculate = Chart1FuncSeries1Calculate
|
OnCalculate = Chart1FuncSeries1Calculate
|
||||||
Pen.Color = clPurple
|
Pen.Color = clPurple
|
||||||
Pen.Width = 2
|
Pen.Width = 2
|
||||||
Title = 'Function'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object pnControls: TPanel
|
object pnControls: TPanel
|
||||||
@ -211,11 +210,11 @@ object Form1: TForm1
|
|||||||
end
|
end
|
||||||
object ListChartSource2: TListChartSource
|
object ListChartSource2: TListChartSource
|
||||||
DataPoints.Strings = (
|
DataPoints.Strings = (
|
||||||
'0|5|?|'
|
'0|5|?|abcc'
|
||||||
'0|6|?|'
|
'0|6|?|def'
|
||||||
'0,2|4|?|'
|
'0.2|4|?|пример'
|
||||||
'0|7|?|'
|
'0|7|?|ещё'
|
||||||
'0|2|?|'
|
'0|2|?|два слова'
|
||||||
)
|
)
|
||||||
left = 380
|
left = 380
|
||||||
top = 228
|
top = 228
|
||||||
|
@ -6,7 +6,7 @@ interface
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
ExtCtrls, Spin, StdCtrls, Forms, TAGraph, TASeries, TASources, Classes,
|
ExtCtrls, Spin, StdCtrls, Forms, TAGraph, TASeries, TASources, Classes,
|
||||||
TALegend, Graphics;
|
TALegend, TAFuncSeries, Graphics;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user