Defines the set of options for where and how the arrow head (the triangle portion) of an arrow should be drawn.
Namespace: RSCharts
Delphi
|
published
property ArrowOptions: TArrowOptions read FArrowOptions write SetArrowOptions default [aoArrowAtEnd, aoFillHead];
|
Property Value
Type: TArrowOptions
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;
|
|