TChartSeriesOptions.CreateWithClones Constructor
Creates a new instance of ChartSeriesOptions. Objects will be cloned, so you can change their values later and they will not Use this call only if all objects are owned by others and you will free them independently. As this class will clone the objects, it will free the cloned objects, and the original objects will leak if you don't free them on their own. IF you want this class to take ownership of the objects you pass to it, use CreateNoClone change the value on this class.
Syntax
Unit: FlexCel.Core
constructor TChartSeriesOptions.CreateWithClones(const aPointNumber: Integer; aFillOptions: IChartSeriesFillOptions; aLineOptions: IChartSeriesLineOptions; const aPieOptions: TChartSeriesPieOptions; const aMarkerOptions: TChartSeriesMarkerOptions; const aMiscOptions: TChartSeriesMiscOptions; const aXlsMode: Boolean);
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aPointNumber | Integer | Point number where this options apply. -1 means that the options apply for the whole series. |
aFillOptions | IChartSeriesFillOptions | Fill options for the series or point. | |
aLineOptions | IChartSeriesLineOptions | Line options for the series or point. | |
const | aPieOptions | TChartSeriesPieOptions | If the chart type is pie, options for the pie. If it is not a pie chart, this value has no meaning. |
const | aMarkerOptions | TChartSeriesMarkerOptions | Color and shape of the markers on Line and Scatter charts. |
const | aMiscOptions | TChartSeriesMiscOptions | Misc Options. |
const | aXlsMode | Boolean | If true, this is a xlsx chart, which has different automatic colors, etc. |