Hide Comments
Hide Comments

Comments (0)

Specifies the size of the arrow heads in pixels

Namespace: RSCharts

expandingSyntax

Delphi

published
  property ArrowHeadSize: TCanvasPixel read FArrowHeadSize write SetArrowHeadSizedefault 5;
 

Property Value

Type: TCanvasPixel

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

Comments (0)

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