Returns the embedded sub-chart for the value. Use the SubChart property like any other chart in the component suite (e.g., add values, set properties, etc). You may need to cast the SubChart to the specific chart type to access all the properties (e.g., FMX.RS.Charts.TRSPieChart , TRSBarChart, etc). To set the SubChart, assign a chart object to the property.
The TRSChartInChartValue class will ensure freeing the SubChart if its Owner is nil.
Namespace: FMX.RS.Charts
Delphi |
public |
Property Value
Type: TRSCustomChart
The following example creates three sub-charts, two in which the SubChart is managed by the TRSChartInChartValue class and one in which the SubChart is freed by its Owner: Delphi |
begin |