Specifies the size of the arrow heads in pixels
Namespace: FMX.RS.Charts
Delphi
|
published
property ArrowHeadSize: TCanvasPixel read FArrowHeadSize write SetArrowHeadSize;
|
Property Value
Type: TCanvasPixel
The following code first defines the arrow head and its options for ALL arrows in the arrow chart and then creates an arrow:
Delphi
|
var
Value: TRSArrowChartValue; // note, this type should be the same that the chart uses (e.g., TRS2DChartValue, TRSArrowChartValue, etc)
begin
RSArrowChart1.ArrowHeadSize := 10;
RSArrowChart1.ArrowOptions := [aoArrowAtEnd, aoDrawCaption];
Value := RSArrowChart1.Values.Add;
Value.Color := clRed;
Value.X := 10.0; // display horizontal arrow
Value.Y := 15.0;
Value.EndX := 100.0;
Value.EndY := 15.0;
end;
|
|