Hide Comments
Hide Comments

Comments (0)

Defines the set of options for where and how the arrow head (the triangle portion) of an arrow should be drawn.
 

Namespace: FMX.RS.Charts

expandingSyntax

Delphi

published
  property ArrowOptions: TArrowOptions read FArrowOptions write SetArrowOptions default [aoArrowAtEnd, aoFillHead];
 

Property Value

Type: TArrowOptions

expandingExamples

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;

expandingSee Also

Reference

RSGraphics|TArrowOptions

Comments (0)

RiverSoftAVG Charting Component Suite (RCCS) © 2005-2015, Thomas G. Grubb