TAChart: Publish the new events OnGetPointerStyle and OnCustomDrawPointer also for TCubicSplineSeries and TBSplineSeries.

git-svn-id: trunk@52105 -
This commit is contained in:
wp 2016-04-05 09:50:45 +00:00
parent e0199daa77
commit 2eb6e52660
2 changed files with 7 additions and 3 deletions

View File

@ -14,9 +14,9 @@ object Form1: TForm1
Height = 494
Top = 0
Width = 691
ActivePage = tsFast
ActivePage = tsCustomDrawPointer
Align = alClient
TabIndex = 0
TabIndex = 2
TabOrder = 0
OnChange = PageControl1Change
object tsFast: TTabSheet
@ -211,7 +211,7 @@ object Form1: TForm1
end
end
object tsCustomDrawPointer: TTabSheet
Caption = 'Ownerdrawn pointer'
Caption = 'Customdrawn pointer'
ClientHeight = 466
ClientWidth = 683
object Chart_CustomDrawPointer: TChart

View File

@ -164,6 +164,8 @@ type
property Pointer;
property Step: TFuncSeriesStep
read FStep write SetStep default DEF_SPLINE_STEP;
property OnCustomDrawPointer;
property OnGetPointerStyle;
end;
TBadDataChartPen = class(TChartPen)
@ -234,6 +236,8 @@ type
property Source;
property Title;
property ZPosition;
property OnCustomDrawPointer;
property OnGetPointerStyle;
published
// Used when data is not suitable for drawing cubic spline --
// e.g. points are too few or not ordered by X value.