Hide Comments
Hide Comments

Comments (0)

Encapsulates a link (the line drawn ) between two graph chart values ( RSGraphCharts.TRSGraphChartValue ). Not only does it specify the link but also the appearance of the link, including  Caption,  LinePoints, and  ConnectionPoint. Each TRSGraphChartLink is owned by a RSGraphCharts.TRSGraphChartValue (which automatically implies where this link is coming from), use the Value property to specify where the link is going to.

Namespace: RSGraphCharts

expandingInheritance Hierarchy

TGCollectionItem
  RSGraphCharts.TRSGraphChartLink
 

expandingSyntax

Delphi

type 
  TRSGraphChartLink = class(TGCollectionItem) 
  end;  
 

expandingConstructors

 

Name

Description

public constructor

Create(TCollection)

Initializes a new instance of the TRSGraphChartLink class.

public destructor

Destroy

Represents the destructor of the TRSGraphChartLink class.

Top

expandingProperties

 

Name

Description

published property

Caption

Specifies an optional text string to display on the link. The Caption is displayed at the midpoint of the line connecting the two graph chart values (specified by   ConnectionPoint and   ValueConnectionPoint). However, if there are additional   LinePoints, the Caption is displayed at the midpoint of the middle line segment.

public property

Collection

Specifies the RSGraphCharts.TRSGraphChartLinks instance to
which this Item belongs. Each collection item belongs to the
collection which creates it. The Collection property
points to the collection object to which the value belongs.
 

published property

ConnectionPoint

Specifies the location on the graph chart value where the link is coming from. The ConnectionPoint property allows you to specify the origin point for the link on the rectangle that contains the graph chart value. By using the   ConnectionPoint,   LinePoints, and   ValueConnectionPoint properties, you can entirely specify the arrow that connects the two graph chart values. If this property is empty, a straight line arrow is drawn between the two values.
 

public property

LinePoints

Contains an array of points that allows you to specify the intermediate points of the link between the two graph chart values. Use the LinePoints to specify multi-line segment arrow between the values. By using the   ConnectionPoint,   LinePoints, and   ValueConnectionPoint properties, you can entirely specify the arrow that connects the two graph chart values. If this property is empty, a straight line arrow is drawn between the two values.
 

published property

Pen

Specifies the kind of pen the link uses for drawing the lines between the graph chart values. Set Pen to specify the pen to use for drawing the lines . The value of Pen is a TRSPen object, which is TPen in VCL and TStrokeBrush in FMX. Set the properties of the TRSPen object to specify the color, style, width, and mode of the pen.
 

published property

Value

Specifies which graph chart value this link connects with (the destination). Each TRSGraphChartLink is owned by a RSGraphCharts.TRSGraphChartValue , which automatically specifies the link's origin. Use this property to specify the links destination.

published property

ValueConnectionPoint

Specifies the location on the graph chart   Value where the link is going to. The ValueConnectionPoint property allows you to specify the destination point for the link on the rectangle that contains the graph chart value. By using the   ConnectionPoint,   LinePoints, and   ValueConnectionPoint properties, you can entirely specify the arrow that connects the two graph chart values. If this property is empty, a straight line arrow is drawn between the two values.
 

protected property

ValueIndex

Represents property ValueIndex.

Top

expandingMethods

 

Name

Description

public method

ArrangeConnection(TRSChartOrientation)

Sets the   ConnectionPoint and   ValueConnectionPoint properties based on the Orientation parameter. The ArrangeConnection method sets these properties to hopefully avoid lines going through the two graph chart values. By using the Orientation, you are hinting the relative locations of the two graph chart values that are the end points of the link.

public method

Assign(TPersistent)

Represents method Assign(TPersistent).

protected method

DefineProperties(TFiler)

Represents method DefineProperties(TFiler).

protected method

GetDisplayName

Represents method GetDisplayName.

protected method

Loaded

Represents method Loaded.

protected method

Notification(TGCollectionItem)

Represents method Notification(TGCollectionItem).

protected method

PenChanged(TObject)

Represents method PenChanged(TObject).

protected method

ReadLink(TReader)

Represents method ReadLink(TReader).

protected method

WriteLink(TWriter)

Represents method WriteLink(TWriter).

Top

expandingSee Also

Comments (0)

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