Hide Comments
Hide Comments

Comments (0)

Contains all the shapes in the shape chart. Each shape ( RSCharts.TRSShapeChartValue ) may be its own shape (Style) as well as size (Width and Height), Color, Caption, etc. When a shape is added to the collection, it is initialized to the DefaultShape. Use the Values collection to add, delete, and modify shapes in the chart.

noteNote

Shapes are drawn from first to last through the collection, so later shapes are "on top" of earlier shapes.

Namespace: RSCharts

expandingSyntax

Delphi

protected
  property Values: TRSShapeChartValues read GetValues write SetValues stored IsValuesStored;
 

Property Value

Type: TRSShapeChartValues

expandingExamples

The following code adds a shape to the chart:

Delphi

var
   Value: TRSShapeChartValue;  // note, this type should be the same that the chart uses (e.g., TRS2DChartValue, TRSArrowChartValue, etc)
 begin
   // Add first point
   Value := RSShapeChart1.Values.Add;
   Value.Color := clRed;
   Value.X := 10.0;
   Value.Y := 15.0;
   Value.Width := 20;
   Value.Height := 20;
   Value.Style := ssEllipsis;
 end;

expandingSee Also

Comments (0)

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