TPoint3DSeries.OnGetPointerStyle
TPoint3DSeries
property OnGetPointerStyle: TOnGetPointerStyle;
Unit
TeePoin3
Description
This event is called just before the Point3D series is about to draw a point.
This event must return a point style.
You can also use this event to alter formatting properties like pen, pointer style or color.
function TForm1.Series8GetPointerStyle(Sender: TChartSeries;
ValueIndex: Integer): TSeriesPointerStyle;
begin
if Sender.YValues[ValueIndex] > 100 then
begin
result:=psTriangle;
Series1.Pointer.Pen.Color := clRed;
end
else
begin
result:=psRectangle;
Series1.Pointer.Pen.Color := clBlack;
end;
end;