Hide Comments
Hide Comments

Comments (0)

Povide a data-aware link for the RSDBCharts.TRSDBPathChart .

alert_cautionImportant Note

Unlike other charts, the path chart fetches data from one record only and creates one value only; it is assumed that one field of the record will hold the entire path.

noteNote

DataFields holds the field names associated with each *dimension* in the TRSChartValue internal array plus two. The last index holds the Caption's FieldName. The first index holds the path data

alert_noteNotes to Callers

Data-aware path charts use the TRSPathChartDataLink to provide a mapping of data field names to their Values dimension. They should expose properties that allow the user to input dataset field names for each dimension of their TRSChartValue.Values property. These field names would be placed in    DataFields property.

Namespace: RSDBCharts

expandingInheritance Hierarchy

TDataLink
  RSDBCharts.TRSChartDataLink
    RSDBCharts.TRSPathChartDataLink
 

expandingSyntax

Delphi

type
  TRSPathChartDataLink = class(TRSChartDataLink)
  end;
 

expandingConstructors

 

Name

Description

public constructor

Create(TRSCustomChart)

Initializes a new instance of the TRSPathChartDataLink class. (Overrides RSDBCharts.TRSChartDataLink.Create(TRSCustomChart).)

Top

expandingProperties

 

Name

Description

public property

ChartFieldCount

Returns the number of chart fields (TFields associated with a chart dimension) plus 1 for Caption. (Inherited from RSDBCharts.TRSChartDataLink.)

public property

ChartFields[Integer]

Returns the DataSet TField associated with the TRSChartValue.Values dimension (Index). The association of TField and Name is specified in the DataFields property. (Inherited from RSDBCharts.TRSChartDataLink.)

protected property

DataChanging

Represents property DataChanging. (Inherited from RSDBCharts.TRSChartDataLink.)

public property

DataFields[Integer]

Defines the names of the TRSChartValue.Values dimension (Inherited from RSDBCharts.TRSChartDataLink.)

public property

FieldCount

Returns the number of fields in the DataSet (Inherited from RSDBCharts.TRSChartDataLink.)

public property

Fields[Integer]

Returns a TField for all the fields in the Dataset (Inherited from RSDBCharts.TRSChartDataLink.)

public property

OnActiveChanged

Occurs when the Active property of the TRSChartDataLink changes.

Write an OnActiveChange event handler to take specific action immediately after the dataset transitions into or out of an active state. OnActiveChange is particularly useful for updating objects to reflect changes that occurred while the dataset was not active, as the object can not respond to events while its TRSChartDataLink is not Active.
 

public property

OnDataSetChanged

Occurs when the dataset changed (Inherited from RSDBCharts.TRSChartDataLink.)

public property

OnGetChartValue

Occurs when the data has changed and the dataset needs a chart value. Use this event to retrieve chart values that cannot be automatically handled by the TRSChartDataLink (Inherited from RSDBCharts.TRSChartDataLink.)

public property

OnLayoutChanged

Occurs after the layout has changed in a way that affects the representation of the dataset.
 (Inherited from RSDBCharts.TRSChartDataLink.)

public property

Parent

Returns the chart that owns the data link (Inherited from RSDBCharts.TRSChartDataLink.)

Top

expandingMethods

 

Name

Description

protected method

ActiveChanged

Represents method ActiveChanged. (Inherited from RSDBCharts.TRSChartDataLink.)

protected method

DataSetChanged

Represents method DataSetChanged. (Inherited from RSDBCharts.TRSChartDataLink.)

protected method

DataSetScrolled(Integer)

Represents method DataSetScrolled(Integer). (Inherited from RSDBCharts.TRSChartDataLink.)

protected method

DoActiveChanged

Represents method DoActiveChanged. (Inherited from RSDBCharts.TRSChartDataLink.)

protected method

DoDataChanged

Represents method DoDataChanged. (Overrides RSDBCharts.TRSChartDataLink.DoDataChanged.)

protected method

DoDataChanged(TRSChartValueTypeArray)

Represents method DoDataChanged(TRSChartValueTypeArray). (Overrides RSDBCharts.TRSChartDataLink.DoDataChanged(TRSChartValueTypeArray).)

protected method

DoLayoutChanged

Represents method DoLayoutChanged. (Inherited from RSDBCharts.TRSChartDataLink.)

protected method

LayoutChanged

Represents method LayoutChanged. (Inherited from RSDBCharts.TRSChartDataLink.)

protected method

RecordChanged(TField)

Represents method RecordChanged(TField). (Inherited from RSDBCharts.TRSChartDataLink.)

Top

expandingEvents

 

Name

Description

public event

OnDataSetScrolled

Occurs when the dataset has finished scrolling (Inherited from RSDBCharts.TRSChartDataLink.)

public event

OnRecordChanged

Occurs on changes in the current record or field of the DataSource (Inherited from RSDBCharts.TRSChartDataLink.)

Top

expandingFields

 

Name

Description

protected field

FChartValueFields

Represents field FChartValueFields. (Inherited from RSDBCharts.TRSChartDataLink.)

Top

expandingSee Also

Comments (0)

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