Hide Comments
Hide Comments

Comments (0)

Defines the default shape and appearance of a shape when it is created. When a new shape is added to the chart, it is initialized to the default shape's properties. Use the DefaultShape property to specify the initial common appearance of all shapes in the shape chart

alert_noteTip

You can "reset" a value to the DefaultShape properties by assigning the DefaultShape to the value.

Namespace: FMX.RS.Charts

expandingSyntax

Delphi

protected
  property DefaultShape: TRSDefaultShape read GetDefaultShape write SetDefaultShape;
 

Property Value

Type: TRSDefaultShape

expandingExamples

The following code resets all the shape values to the DefaultShape:

Delphi

var
   i: Integer;
 begin
   for i := 0 to RSShapeChart1.Values.Count - 1 do
     RSShapeChart1.Values[i].Assign(RSShapeChart1.DefaultShape);
 end;

expandingSee Also

Comments (0)

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