Creates a new RSCharts.TRSPathChartValue instance and adds it to the Items array. The new instance is initialized with the dimensions (Top, Left, Width, and Height), Path Data, Caption, and Color parameters. Call Add to create a path shape value in the collection. The new value is placed at the end of the Items array, or, if the collection is Sorted, placed at the sorted point in the collection (based on a default value (0)).
Add returns the new path shape value.
Namespace: RSCharts
Delphi |
public |
Parameters
ARect
Type: TRSRect
Path
Type: String
Caption
Type: String
Color
Type: TCanvasColor
Type: TRSPathChartValue
The following example creates values in the collection:
|
Reference•RSCharts.TRSPathChartValues.Add(TRSRect,String,String,TCanvasColor) •TRSPathChartValues.Add(string,string,TCanvasColor) •RSCharts.TRSPathChartValues.Insert(Integer) •Remove |